Skip to main content

Module error

Module error 

Source
Expand description

Errors returned by the SDK.

Operations return the narrowest error type for their surface. Errors expose classification and accessors relevant to that surface, so callers do not need to inspect display strings or unwrap the complete error hierarchy.

Structs§

ServerError
An error returned by an S2 server.
StatusCode
An HTTP status code (status-code in RFC 9110 et al.).

Enums§

AppendConditionFailed
Why an append condition check failed.
AppendError
Errors returned by unary append operations.
AppendSessionError
Errors returned by an append session.
CaughtUpError
Error returned while waiting for a read session to catch up.
ClientError
A classified client-side error.
ErrorCode
ProducerError
Errors from producer operations.
ReadError
Errors returned by unary read operations.
ReadSessionError
Errors returned by a read session.
RequestError
Errors that can be returned by any network request.