Skip to main content

ErrorHandlingResult

Upgather SDK


Upgather SDK / ErrorHandlingResult

Interface: ErrorHandlingResult

Result of error handling operation, indicating the next action to take.

Properties

action

action: "retry" | "abort"

The action to take after handling the error


delay?

optional delay: number

Delay in milliseconds before retrying (when action is 'retry')


error?

optional error: Error

Enhanced error to throw (when action is 'abort')