ErrorHandlingResult
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?
optionaldelay:number
Delay in milliseconds before retrying (when action is 'retry')
error?
optionalerror:Error
Enhanced error to throw (when action is 'abort')