pub enum OutrigError {
Show 17 variants
Configuration(String),
NoRepoConfig,
Io(Error),
Config(Error),
ConfigDottedKey {
source: Error,
},
ApiKey(ApiKeyError),
ConfigValidation(ConfigValidationError),
Process {
program: &'static str,
argv: Vec<OsString>,
exit_code: Option<i32>,
stderr_tail: String,
},
BootstrapExhausted {
kind: &'static str,
},
McpService(ServiceError),
McpServerInitialize(Box<ServerInitializeError>),
McpEnvResolveFailed {
name: String,
key: String,
source: EnvValueError,
},
BuildArgResolveFailed {
image: String,
key: String,
source: EnvValueError,
},
EmbeddedImageConfigParse {
image: String,
source: Box<EmbeddedImageConfigError>,
},
McpStartupFailed(Box<McpStartupFailure>),
McpToolsListFailed {
name: String,
source: Box<ServiceError>,
},
McpArgsNotObject {
kind: &'static str,
},
}Variants§
Configuration(String)
NoRepoConfig
Io(Error)
Config(Error)
ConfigDottedKey
ApiKey(ApiKeyError)
ConfigValidation(ConfigValidationError)
Process
BootstrapExhausted
McpService(ServiceError)
McpServerInitialize(Box<ServerInitializeError>)
McpEnvResolveFailed
BuildArgResolveFailed
EmbeddedImageConfigParse
McpStartupFailed(Box<McpStartupFailure>)
McpToolsListFailed
McpArgsNotObject
Trait Implementations§
Source§impl Debug for OutrigError
impl Debug for OutrigError
Source§impl Display for OutrigError
impl Display for OutrigError
Source§impl Error for OutrigError
impl Error for OutrigError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<ApiKeyError> for OutrigError
impl From<ApiKeyError> for OutrigError
Source§fn from(source: ApiKeyError) -> OutrigError
fn from(source: ApiKeyError) -> OutrigError
Converts to this type from the input type.
Source§impl From<ConfigValidationError> for OutrigError
impl From<ConfigValidationError> for OutrigError
Source§fn from(source: ConfigValidationError) -> OutrigError
fn from(source: ConfigValidationError) -> OutrigError
Converts to this type from the input type.
Source§impl From<Error> for OutrigError
impl From<Error> for OutrigError
Source§fn from(source: Error) -> OutrigError
fn from(source: Error) -> OutrigError
Converts to this type from the input type.
Source§impl From<Error> for OutrigError
impl From<Error> for OutrigError
Source§fn from(source: Error) -> OutrigError
fn from(source: Error) -> OutrigError
Converts to this type from the input type.
Source§impl From<OutrigError> for CliError
impl From<OutrigError> for CliError
Source§fn from(source: OutrigError) -> Self
fn from(source: OutrigError) -> Self
Converts to this type from the input type.
Source§impl From<PersistError> for OutrigError
impl From<PersistError> for OutrigError
Source§fn from(e: PersistError) -> OutrigError
fn from(e: PersistError) -> OutrigError
Converts to this type from the input type.
Source§impl From<ServerInitializeError> for OutrigError
impl From<ServerInitializeError> for OutrigError
Source§fn from(e: ServerInitializeError) -> OutrigError
fn from(e: ServerInitializeError) -> OutrigError
Converts to this type from the input type.
Source§impl From<ServiceError> for OutrigError
impl From<ServiceError> for OutrigError
Source§fn from(source: ServiceError) -> OutrigError
fn from(source: ServiceError) -> OutrigError
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for OutrigError
impl !UnwindSafe for OutrigError
impl Freeze for OutrigError
impl Send for OutrigError
impl Sync for OutrigError
impl Unpin for OutrigError
impl UnsafeUnpin for OutrigError
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