Optional
options: { cause?: any; errorCode?: number }Optional
cause?: anyOptional
errorCode?: numberError code. This should be an HTTP status code, and in case the service was invoked from the ingress, this will be propagated back to the caller.
Optional
causeReadonly
codeOptional
stackStatic
Optional
prepareOptional override for formatting stack traces
Static
stack
Does not lead to Restate retries.
Leads to an output message with a failure defined.