pub enum AxumApcoreError {
Config(String),
Scanner(String),
Registration(String),
Context(String),
Execution(ModuleError),
Regex(Error),
Json(Error),
}Expand description
Unified error type for axum-apcore operations.
Variants§
Config(String)
Scanner(String)
Registration(String)
Context(String)
Execution(ModuleError)
Regex(Error)
Json(Error)
Trait Implementations§
Source§impl Debug for AxumApcoreError
impl Debug for AxumApcoreError
Source§impl Display for AxumApcoreError
impl Display for AxumApcoreError
Source§impl Error for AxumApcoreError
impl Error for AxumApcoreError
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 AxumApcoreError
impl From<Error> for AxumApcoreError
Source§impl From<Error> for AxumApcoreError
impl From<Error> for AxumApcoreError
Source§impl From<ModuleError> for AxumApcoreError
impl From<ModuleError> for AxumApcoreError
Source§fn from(source: ModuleError) -> Self
fn from(source: ModuleError) -> Self
Converts to this type from the input type.
Source§impl IntoResponse for AxumApcoreError
impl IntoResponse for AxumApcoreError
Source§fn into_response(self) -> Response
fn into_response(self) -> Response
Create a response.
Auto Trait Implementations§
impl Freeze for AxumApcoreError
impl !RefUnwindSafe for AxumApcoreError
impl Send for AxumApcoreError
impl Sync for AxumApcoreError
impl Unpin for AxumApcoreError
impl UnsafeUnpin for AxumApcoreError
impl !UnwindSafe for AxumApcoreError
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