pub struct Error {
pub kind: ErrorKind,
/* private fields */
}
Expand description
The Error type
Fields§
§kind: ErrorKind
Kind of error
Implementations§
source§impl Error
impl Error
sourcepub fn circular_extend(
tpl: impl ToString,
inheritance_chain: Vec<String>
) -> Self
pub fn circular_extend(
tpl: impl ToString,
inheritance_chain: Vec<String>
) -> Self
Creates a circular extend error
sourcepub fn missing_parent(current: impl ToString, parent: impl ToString) -> Self
pub fn missing_parent(current: impl ToString, parent: impl ToString) -> Self
Creates a missing parent error
sourcepub fn template_not_found(tpl: impl ToString) -> Self
pub fn template_not_found(tpl: impl ToString) -> Self
Creates a template not found error
sourcepub fn filter_not_found(name: impl ToString) -> Self
pub fn filter_not_found(name: impl ToString) -> Self
Creates a filter not found error
sourcepub fn test_not_found(name: impl ToString) -> Self
pub fn test_not_found(name: impl ToString) -> Self
Creates a test not found error
sourcepub fn function_not_found(name: impl ToString) -> Self
pub fn function_not_found(name: impl ToString) -> Self
Creates a function not found error
Trait Implementations§
source§impl Error for Error
impl Error for Error
source§fn source(&self) -> Option<&(dyn StdError + 'static)>
fn source(&self) -> Option<&(dyn StdError + '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()