Expand description
Error types for the Pi application.
Structs§
- Auth
Diagnostic - Structured auth/config diagnostic metadata for downstream tooling.
- Error
Hints - Structured hints for error remediation.
Enums§
- Auth
Diagnostic Code - Stable machine codes for auth/config diagnostics across provider families.
- Error
- Main error type for the Pi application.
Functions§
- is_
context_ overflow - Check whether an error message indicates the prompt exceeded the context window. Matches the 15 pi-mono overflow patterns plus Cerebras/Mistral status code pattern.
- is_
retryable_ error - Check whether an error is retryable (transient). Matches pi-mono’s
_isRetryableError()logic:
Type Aliases§
- Result
- Result type alias using our error type.