pub enum AppServiceError {
InvalidConfig(String),
IOError(IOError),
MarineError(MarineError),
CreateDir {
err: IOError,
path: PathBuf,
},
ConfigParseError(String),
}
Variants§
InvalidConfig(String)
An error related to config parsing.
IOError(IOError)
Various errors related to file i/o.
MarineError(MarineError)
Marine errors.
CreateDir
Directory creation failed
ConfigParseError(String)
Errors related to malformed config.
Trait Implementations§
source§impl Debug for AppServiceError
impl Debug for AppServiceError
source§impl Display for AppServiceError
impl Display for AppServiceError
source§impl Error for AppServiceError
impl Error for AppServiceError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 AppServiceError
impl From<Error> for AppServiceError
source§impl From<Error> for AppServiceError
impl From<Error> for AppServiceError
source§impl From<Infallible> for AppServiceError
impl From<Infallible> for AppServiceError
source§fn from(_: Infallible) -> Self
fn from(_: Infallible) -> Self
Converts to this type from the input type.
source§impl From<MarineError> for AppServiceError
impl From<MarineError> for AppServiceError
source§fn from(err: MarineError) -> Self
fn from(err: MarineError) -> Self
Converts to this type from the input type.