Skip to main content

Function: toNonRetryable()

toNonRetryable(error, type?): ApplicationFailure

Defined in: src/error-mapping/wrap-activities.ts:12

An ApplicationFailure that is not retried, keeping the original error as cause and stack.

Parameters​

error​

unknown

type?​

string

Returns​

ApplicationFailure