pub enum DevopsError {
YamlParse(String),
JsonParse(String),
Validation(String),
LlmClient(String),
Io(String),
}Expand description
Unified error type for DevOps model operations.
Variants§
YamlParse(String)
YAML parsing or deserialization error.
JsonParse(String)
JSON parsing or deserialization error.
Validation(String)
Semantic or structural validation failure.
LlmClient(String)
LLM API client error.
Io(String)
Generic I/O error.
Trait Implementations§
Source§impl Debug for DevopsError
impl Debug for DevopsError
Source§impl Display for DevopsError
impl Display for DevopsError
Source§impl Error for DevopsError
impl Error for DevopsError
1.30.0 · 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()
Auto Trait Implementations§
impl Freeze for DevopsError
impl RefUnwindSafe for DevopsError
impl Send for DevopsError
impl Sync for DevopsError
impl Unpin for DevopsError
impl UnsafeUnpin for DevopsError
impl UnwindSafe for DevopsError
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