Expand description
Shared domain types mirroring the JS SDK’s resources/shared.ts.
Structs§
- ApiError
- An error originating from the upstream API provider.
- ApiError
Data - Data payload for
ApiError. - Context
Overflow Error - An error indicating the context window was exceeded.
- Context
Overflow Error Data - Data payload for
ContextOverflowError. - Message
Aborted Error - An error indicating the message was aborted.
- Message
Aborted Error Data - Data payload for
MessageAbortedError. - Message
Output Length Error - An error indicating the message output exceeded the allowed length.
- Provider
Auth Error - An error indicating a provider authentication failure.
- Provider
Auth Error Data - Data payload for
ProviderAuthError. - Structured
Output Error - An error indicating that structured output validation failed.
- Structured
Output Error Data - Data payload for
StructuredOutputError. - Unknown
Error - A generic / unknown error.
- Unknown
Error Data - Data payload for
UnknownError.
Enums§
- Session
Error - A session-level error – one of the known error kinds.