pub enum RivetError {
Build(String),
Provider(String),
Routing(String),
Dispatch(String),
Internal(Error),
}Expand description
Top-level rivet error surface returned by build and dispatch APIs.
Variants§
Trait Implementations§
Source§impl Debug for RivetError
impl Debug for RivetError
Source§impl Display for RivetError
impl Display for RivetError
Source§impl Error for RivetError
impl Error for RivetError
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 RivetError
impl From<Error> for RivetError
Source§impl From<FoundationError> for RivetError
impl From<FoundationError> for RivetError
Source§fn from(value: FoundationError) -> Self
fn from(value: FoundationError) -> Self
Converts to this type from the input type.
Source§impl From<RouteRegistryError> for RivetError
impl From<RouteRegistryError> for RivetError
Source§fn from(value: RouteRegistryError) -> Self
fn from(value: RouteRegistryError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RivetError
impl RefUnwindSafe for RivetError
impl Send for RivetError
impl Sync for RivetError
impl Unpin for RivetError
impl UnsafeUnpin for RivetError
impl UnwindSafe for RivetError
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