pub enum MantaError {
}Expand description
Errors returned by manta-shared’s pure helpers.
Variants§
IoError(Error)
ConfigError(ConfigError)
TomlEditError(TomlError)
SerdeError(Error)
NetError(Error)
YamlError(Error)
NotFound(String)
MissingField(String)
JwtMalformed(String)
KafkaError(String)
InvalidPattern(String)
TemplateError(String)
Other(String)
Catch-all for messages that don’t fit any structured variant.
Trait Implementations§
Source§impl Debug for MantaError
impl Debug for MantaError
Source§impl Display for MantaError
impl Display for MantaError
Source§impl Error for MantaError
impl Error for MantaError
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<ConfigError> for MantaError
impl From<ConfigError> for MantaError
Source§fn from(source: ConfigError) -> Self
fn from(source: ConfigError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for MantaError
impl From<Error> for MantaError
Source§impl From<Error> for MantaError
impl From<Error> for MantaError
Source§impl From<Error> for MantaError
impl From<Error> for MantaError
Source§impl From<Error> for MantaError
impl From<Error> for MantaError
Auto Trait Implementations§
impl Freeze for MantaError
impl !RefUnwindSafe for MantaError
impl Send for MantaError
impl Sync for MantaError
impl Unpin for MantaError
impl UnsafeUnpin for MantaError
impl !UnwindSafe for MantaError
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