pub enum ErrorKind {
InvalidInput,
Unavailable,
Authentication,
RateLimited,
Capacity,
Timeout,
InputTooLarge,
EmptyOutput,
Protocol,
}Expand description
Stable failure classification for application adapters.
Variants§
InvalidInput
The caller supplied an invalid request or configuration.
Codex or its sandbox launcher could not be started or completed.
Authentication
Codex authentication is missing or invalid.
RateLimited
The provider rejected the operation due to a usage or rate limit.
Capacity
The selected model is temporarily at capacity.
Timeout
The operation exceeded its configured deadline.
InputTooLarge
The model input exceeded its supported limit.
EmptyOutput
Codex completed without a usable assistant message.
Protocol
Codex returned output that did not satisfy its runtime protocol.
Trait Implementations§
impl Copy for ErrorKind
impl Eq for ErrorKind
impl StructuralPartialEq for ErrorKind
Auto Trait Implementations§
impl Freeze for ErrorKind
impl RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl UnsafeUnpin for ErrorKind
impl UnwindSafe for ErrorKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more