Interface: ErrorMappingOptions
Defined in: src/error-mapping/types.ts:25
Properties
defaultMap?
optionaldefaultMap?:boolean
Defined in: src/error-mapping/types.ts:29
Apply the built-in HTTP status map. Default: true.
mapper?
optionalmapper?:ActivityErrorMapper
Defined in: src/error-mapping/types.ts:27
Runs after @NonRetryable() and before the default map.
nonRetryableStatuses?
optionalnonRetryableStatuses?:number[]
Defined in: src/error-mapping/types.ts:34
Statuses that make a thrown Nest HttpException non-retryable.
Default: every 4xx except 408 (timeout) and 429 (rate limited), which are worth retrying.