pub enum AmxCode {
Show 16 variants
OutOfSpace,
PermissionDenied,
PathNotFound,
PathTraversal,
MigrationFailed,
VersionMismatch,
CliNotInstalled,
NpmInstallFailed,
CliShimMissing,
CliMissingOnPath,
AuthRequiresTty,
AuthTimeout,
HttpError,
SidecarBindFailed,
AlreadyRunning,
Legacy,
}Expand description
Stable string codes shipped to the frontend. The variant name in
AgentMuxError is for Rust callers; the &'static str returned
by AmxCode::as_str() is the contract with the catalog at
frontend/app/errors/catalog.ts.
Variants§
OutOfSpace
PermissionDenied
PathNotFound
PathTraversal
MigrationFailed
VersionMismatch
CliNotInstalled
NpmInstallFailed
CliShimMissing
CliMissingOnPath
Non-npm provider whose CLI couldn’t be found on the system PATH. The user must install it manually — there’s no in-app install path for these (Kimi via pip, etc.).
AuthRequiresTty
AuthTimeout
HttpError
SidecarBindFailed
AlreadyRunning
Legacy
Implementations§
Trait Implementations§
impl Copy for AmxCode
impl Eq for AmxCode
impl StructuralPartialEq for AmxCode
Auto Trait Implementations§
impl Freeze for AmxCode
impl RefUnwindSafe for AmxCode
impl Send for AmxCode
impl Sync for AmxCode
impl Unpin for AmxCode
impl UnwindSafe for AmxCode
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