pub enum LagoError {
Show 15 variants
Journal(String),
Store(String),
Serialization(Error),
SessionNotFound(String),
BranchNotFound(String),
EventNotFound(String),
BlobNotFound(String),
FileNotFound(String),
SequenceConflict {
expected: u64,
actual: u64,
},
PolicyDenied(String),
InvalidArgument(String),
Io(Error),
HashLine(HashLineError),
Sandbox(String),
Internal(String),
}Variants§
Journal(String)
Store(String)
Serialization(Error)
SessionNotFound(String)
BranchNotFound(String)
EventNotFound(String)
BlobNotFound(String)
FileNotFound(String)
SequenceConflict
PolicyDenied(String)
InvalidArgument(String)
Io(Error)
HashLine(HashLineError)
Sandbox(String)
Internal(String)
Trait Implementations§
Source§impl Error for LagoError
impl Error for LagoError
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<HashLineError> for LagoError
impl From<HashLineError> for LagoError
Source§fn from(source: HashLineError) -> Self
fn from(source: HashLineError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LagoError
impl !RefUnwindSafe for LagoError
impl Send for LagoError
impl Sync for LagoError
impl Unpin for LagoError
impl !UnwindSafe for LagoError
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