pub enum ForgeError {
Show 26 variants
RefuseToOpenDb {
reason: String,
},
Database(Error),
Io(Error),
Serialization(Error),
PatchValidation {
violations: Vec<Violation>,
},
AnchorResolution(String),
PatchApply(String),
CommandTimeout {
command: String,
timeout_secs: u64,
},
CommandFailed {
command: String,
exit_code: i32,
},
SealedModeUnsupported {
runtime: String,
},
RemoteModelForbiddenInSealedMode,
NoContainerRuntime,
PromotionFailed {
criterion: String,
value: String,
},
GoldenMindStateMismatch {
version_id: String,
input_hash: String,
},
CeaRawSourceDetected,
Fixture(String),
Config(String),
NotFound(String),
WorkspacePath(PathBuf),
ExperimentFailed(String),
LimitExceeded {
limit: String,
value: u64,
max: u64,
},
Export(String),
WriteThroughBlocked,
PairIncomparable {
reasons: Vec<String>,
},
SealedBundle,
Other(String),
}Expand description
All errors produced by forge-engine.
Variants§
RefuseToOpenDb
Database(Error)
Io(Error)
Serialization(Error)
PatchValidation
AnchorResolution(String)
PatchApply(String)
CommandTimeout
CommandFailed
SealedModeUnsupported
RemoteModelForbiddenInSealedMode
NoContainerRuntime
PromotionFailed
GoldenMindStateMismatch
CeaRawSourceDetected
Fixture(String)
Config(String)
NotFound(String)
WorkspacePath(PathBuf)
ExperimentFailed(String)
LimitExceeded
Export(String)
WriteThroughBlocked
PairIncomparable
SealedBundle
Other(String)
Implementations§
Trait Implementations§
Source§impl Debug for ForgeError
impl Debug for ForgeError
Source§impl Display for ForgeError
impl Display for ForgeError
Source§impl Error for ForgeError
impl Error for ForgeError
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<BridgeError> for ForgeError
impl From<BridgeError> for ForgeError
Source§fn from(error: BridgeError) -> Self
fn from(error: BridgeError) -> Self
Converts to this type from the input type.
Source§impl From<CeaCoreError> for ForgeError
impl From<CeaCoreError> for ForgeError
Source§fn from(error: CeaCoreError) -> Self
fn from(error: CeaCoreError) -> Self
Converts to this type from the input type.
Source§impl From<CeaStoreError> for ForgeError
impl From<CeaStoreError> for ForgeError
Source§fn from(error: CeaStoreError) -> Self
fn from(error: CeaStoreError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for ForgeError
impl From<Error> for ForgeError
Source§impl From<Error> for ForgeError
impl From<Error> for ForgeError
Source§impl From<Error> for ForgeError
impl From<Error> for ForgeError
Source§impl From<ExportEnvelopeError> for ForgeError
impl From<ExportEnvelopeError> for ForgeError
Source§fn from(error: ExportEnvelopeError) -> Self
fn from(error: ExportEnvelopeError) -> Self
Converts to this type from the input type.
Source§impl From<MemoryError> for ForgeError
impl From<MemoryError> for ForgeError
Source§fn from(error: MemoryError) -> Self
fn from(error: MemoryError) -> Self
Converts to this type from the input type.
Source§impl From<MindStateError> for ForgeError
impl From<MindStateError> for ForgeError
Source§fn from(error: MindStateError) -> Self
fn from(error: MindStateError) -> Self
Converts to this type from the input type.
Source§impl From<PatchError> for ForgeError
impl From<PatchError> for ForgeError
Source§fn from(error: PatchError) -> Self
fn from(error: PatchError) -> Self
Converts to this type from the input type.
Source§impl From<RunnerError> for ForgeError
impl From<RunnerError> for ForgeError
Source§fn from(error: RunnerError) -> Self
fn from(error: RunnerError) -> Self
Converts to this type from the input type.
Source§impl From<StabilizerError> for ForgeError
impl From<StabilizerError> for ForgeError
Source§fn from(error: StabilizerError) -> Self
fn from(error: StabilizerError) -> Self
Converts to this type from the input type.
Source§impl From<WorkspaceError> for ForgeError
impl From<WorkspaceError> for ForgeError
Source§fn from(error: WorkspaceError) -> Self
fn from(error: WorkspaceError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for ForgeError
impl !UnwindSafe for ForgeError
impl Freeze for ForgeError
impl Send for ForgeError
impl Sync for ForgeError
impl Unpin for ForgeError
impl UnsafeUnpin for ForgeError
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> 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> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.