Struct Error
struct Error { ... }
The Error type
Fields
kind: ErrorKindKind of error
Implementations
impl Error
fn msg<impl ToString: ToString>(value: impl ToString) -> SelfCreates generic error
fn circular_extend<impl ToString: ToString>(tpl: impl ToString, inheritance_chain: Vec<String>) -> SelfCreates a circular extend error
fn missing_parent<impl ToString: ToString, impl ToString: ToString>(current: impl ToString, parent: impl ToString) -> SelfCreates a missing parent error
fn template_not_found<impl ToString: ToString>(tpl: impl ToString) -> SelfCreates a template not found error
fn filter_not_found<impl ToString: ToString>(name: impl ToString) -> SelfCreates a filter not found error
fn test_not_found<impl ToString: ToString>(name: impl ToString) -> SelfCreates a test not found error
fn function_not_found<impl ToString: ToString>(name: impl ToString) -> SelfCreates a function not found error
fn chain<impl ToString: ToString, impl Into<Box<dyn StdError + Send + Sync>>: Into<Box<dyn StdError + Send + Sync>>>(value: impl ToString, source: impl Into<Box<dyn StdError + Send + Sync>>) -> SelfCreates generic error with a source
fn call_function<impl ToString: ToString, impl Into<Box<dyn StdError + Send + Sync>>: Into<Box<dyn StdError + Send + Sync>>>(name: impl ToString, source: impl Into<Box<dyn StdError + Send + Sync>>) -> SelfCreates an error wrapping a failed function call.
fn call_filter<impl ToString: ToString, impl Into<Box<dyn StdError + Send + Sync>>: Into<Box<dyn StdError + Send + Sync>>>(name: impl ToString, source: impl Into<Box<dyn StdError + Send + Sync>>) -> SelfCreates an error wrapping a failed filter call.
fn call_test<impl ToString: ToString, impl Into<Box<dyn StdError + Send + Sync>>: Into<Box<dyn StdError + Send + Sync>>>(name: impl ToString, source: impl Into<Box<dyn StdError + Send + Sync>>) -> SelfCreates an error wrapping a failed test call.
fn json(value: Error) -> SelfCreates JSON error
fn invalid_macro_def<impl ToString: ToString>(name: impl ToString) -> SelfCreates an invalid macro definition error
fn io_error(error: Error) -> SelfCreates an IO error
fn utf8_conversion_error(error: FromUtf8Error, context: String) -> SelfCreates an utf8 conversion error
impl Debug for Error
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl Display for Error
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl Error for Error
fn source(self: &Self) -> Option<&dyn StdError + 'static>
impl Freeze for Error
impl From for Error
fn from(error: Error) -> Self
impl From for Error
fn from(e: Error) -> Self
impl From for Error
fn from(e: String) -> Self
impl From for Error
fn from(e: &str) -> Self
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnsafeUnpin for Error
impl UnwindSafe for Error
impl<T> Any for Error
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for Error
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for Error
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> From for Error
fn from(t: T) -> TReturns the argument unchanged.
impl<T> Pointable for Error
unsafe fn init(init: <T as Pointable>::Init) -> usizeunsafe fn deref<'a>(ptr: usize) -> &'a Tunsafe fn deref_mut<'a>(ptr: usize) -> &'a mut Tunsafe fn drop(ptr: usize)
impl<T> ToString for Error
fn to_string(self: &Self) -> String
impl<T, U> Into for Error
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for Error
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for Error
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>
impl<V, T> VZip for Error
fn vzip(self: Self) -> V