pub enum InertiaError {
SerializationError(String),
HeaderError(String),
SsrError(String),
RenderError(String),
NodeJsError(NodeJsError),
}
Variants§
SerializationError(String)
HeaderError(String)
SsrError(String)
RenderError(String)
NodeJsError(NodeJsError)
Implementations§
Source§impl InertiaError
impl InertiaError
Trait Implementations§
Source§impl Debug for InertiaError
impl Debug for InertiaError
Source§impl Display for InertiaError
impl Display for InertiaError
Source§impl Error for InertiaError
impl Error for InertiaError
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()
Source§impl ResponseError for InertiaError
impl ResponseError for InertiaError
Source§fn status_code(&self) -> StatusCode
fn status_code(&self) -> StatusCode
Returns appropriate status code for error. Read more
Source§fn error_response(&self) -> HttpResponse<BoxBody>
fn error_response(&self) -> HttpResponse<BoxBody>
Creates full response for error. Read more
Auto Trait Implementations§
impl Freeze for InertiaError
impl RefUnwindSafe for InertiaError
impl Send for InertiaError
impl Sync for InertiaError
impl Unpin for InertiaError
impl UnwindSafe for InertiaError
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