pub enum ErrorCode {
Show 26 variants
NotInitialized,
AlreadyInitialized,
DatabaseError,
SessionNotFound,
IssueNotFound,
CheckpointNotFound,
ProjectNotFound,
NoActiveSession,
AmbiguousId,
InvalidStatus,
InvalidType,
InvalidPriority,
InvalidArgument,
InvalidSessionStatus,
RequiredField,
CycleDetected,
HasDependents,
SyncError,
ConfigError,
IoError,
JsonError,
EmbeddingError,
SkillInstallError,
DownloadError,
RemoteError,
InternalError,
}Expand description
Machine-readable error codes grouped by category.
Each code maps to a SCREAMING_SNAKE string and a category-based exit code. Agents match on the string; shell scripts on the exit code.
Variants§
NotInitialized
AlreadyInitialized
DatabaseError
SessionNotFound
IssueNotFound
CheckpointNotFound
ProjectNotFound
NoActiveSession
AmbiguousId
InvalidStatus
InvalidType
InvalidPriority
InvalidArgument
InvalidSessionStatus
RequiredField
CycleDetected
HasDependents
SyncError
ConfigError
IoError
JsonError
EmbeddingError
SkillInstallError
DownloadError
RemoteError
InternalError
Implementations§
Trait Implementations§
impl Copy for ErrorCode
impl Eq for ErrorCode
impl StructuralPartialEq for ErrorCode
Auto Trait Implementations§
impl Freeze for ErrorCode
impl RefUnwindSafe for ErrorCode
impl Send for ErrorCode
impl Sync for ErrorCode
impl Unpin for ErrorCode
impl UnsafeUnpin for ErrorCode
impl UnwindSafe for ErrorCode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more