Enum perseus::errors::EngineError
source · pub enum EngineError {
ServerError(ServerError),
CopyStaticDirError {
source: Error,
path: String,
dest: String,
},
CopyStaticAliasFileError {
source: Error,
from: String,
to: String,
},
CopyStaticAliasDirErr {
source: Error,
from: String,
to: String,
},
WriteErrorPageError {
source: Error,
dest: String,
},
NestedStaticAliasDirCreationFailed {
source: Error,
alias: String,
},
}
Expand description
Errors that can occur in the server-side engine system (responsible for building the app).
Variants§
ServerError(ServerError)
CopyStaticDirError
CopyStaticAliasFileError
CopyStaticAliasDirErr
WriteErrorPageError
NestedStaticAliasDirCreationFailed
Trait Implementations§
source§impl Debug for EngineError
impl Debug for EngineError
source§impl Display for EngineError
impl Display for EngineError
source§impl Error for EngineError
impl Error for EngineError
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<EngineError> for Error
impl From<EngineError> for Error
source§fn from(source: EngineError) -> Self
fn from(source: EngineError) -> Self
Converts to this type from the input type.
source§impl From<ServerError> for EngineError
impl From<ServerError> for EngineError
source§fn from(source: ServerError) -> Self
fn from(source: ServerError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for EngineError
impl Send for EngineError
impl Sync for EngineError
impl Unpin for EngineError
impl !UnwindSafe for EngineError
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