Skip to main content

Module error

Module error 

Source
Expand description

Error types for the Mesa SDK.

All fallible SDK methods return MesaError, which covers API errors, transport failures, serialization problems, and retry exhaustion.

§Retryable vs non-retryable errors

The SDK automatically retries transient errors. Use MesaError::is_retryable to check retryability yourself:

  • Retryable: HTTP 429, 5xx, timeouts, connection errors
  • Not retryable: 4xx (except 429), serialization errors

Enums§

ApiErrorCode
Structured error code returned by the Mesa API.
HttpClientError
Errors from the HTTP transport layer.
MesaError
Top-level error type for the Mesa SDK.