nexusrpc.HandlerError
Initialize a new HandlerError.
| Parameters | |
message:str | A descriptive message for the error. |
type:HandlerErrorType | str | The HandlerErrorType of the error, or a
string representation of the error type. If a string is
provided and doesn't match a known error type, it will
be treated as UNKNOWN and a warning will be logged. |
retryablebool | None | Optionally set whether the error should be retried. By default, the error type is used to determine this. |
stackstr | None | An optional stack trace string. |
originalFailure | None | Set if this error is constructed from a failure object. |