Optional
options: RetryableErrorOptions & { cause?: any; errorCode?: number }Optional
causeReadonly
codeOptional
Readonly
retryOptional
stackStatic
Optional
prepareOptional override for formatting stack traces
Static
stackStatic
captureCreate .stack property on a target object
Optional
constructorOpt: FunctionStatic
fromCreate a RetryableError
from the given cause.
Optional
options: RetryableErrorOptions
Error that Restate will retry. By using this error type within a
ctx.run
closure, you can dynamically provide the retry delay specified in RetryableErrorOptions.You can wrap another error using from.