pub enum WaypointError {
Show 13 variants
ConfigError(String),
DatabaseError(Error),
MigrationParseError(String),
ChecksumMismatch {
script: String,
expected: i32,
found: i32,
},
ValidationFailed(String),
MigrationFailed {
script: String,
reason: String,
},
LockError(String),
CleanDisabled,
BaselineExists,
IoError(Error),
OutOfOrder {
version: String,
highest: String,
},
PlaceholderNotFound {
key: String,
available: String,
},
HookFailed {
phase: String,
script: String,
reason: String,
},
}Expand description
All error types that Waypoint operations can produce.
Variants§
ConfigError(String)
DatabaseError(Error)
MigrationParseError(String)
ChecksumMismatch
ValidationFailed(String)
MigrationFailed
LockError(String)
CleanDisabled
BaselineExists
IoError(Error)
OutOfOrder
PlaceholderNotFound
HookFailed
Trait Implementations§
Source§impl Debug for WaypointError
impl Debug for WaypointError
Source§impl Display for WaypointError
impl Display for WaypointError
Source§impl Error for WaypointError
impl Error for WaypointError
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<Error> for WaypointError
impl From<Error> for WaypointError
Auto Trait Implementations§
impl Freeze for WaypointError
impl !RefUnwindSafe for WaypointError
impl Send for WaypointError
impl Sync for WaypointError
impl Unpin for WaypointError
impl UnsafeUnpin for WaypointError
impl !UnwindSafe for WaypointError
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