pub enum ConvergioError {
Db(String),
Extension {
module: String,
message: String,
},
DependencyMissing {
capability: String,
requirer: String,
},
PermissionDenied(String),
NotFound(String),
Validation(String),
BudgetExceeded {
org: String,
spent: f64,
limit: f64,
},
Internal(String),
}Expand description
Top-level error type for the Convergio platform.
Variants§
Db(String)
Extension
DependencyMissing
PermissionDenied(String)
NotFound(String)
Validation(String)
BudgetExceeded
Internal(String)
Trait Implementations§
Source§impl Debug for ConvergioError
impl Debug for ConvergioError
Source§impl Display for ConvergioError
impl Display for ConvergioError
Source§impl Error for ConvergioError
impl Error for ConvergioError
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 ConvergioError
impl RefUnwindSafe for ConvergioError
impl Send for ConvergioError
impl Sync for ConvergioError
impl Unpin for ConvergioError
impl UnsafeUnpin for ConvergioError
impl UnwindSafe for ConvergioError
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