[−][src]Enum bracket::error::helper::HelperError
Variants
Message(String)
Generic error message for helpers.
Error when supplied arguments do not match an exact arity.
Error when supplied arguments do not match an arity range.
Error when a helper expects a string argument.
Error when a helper expects an iterable (object or array).
InvalidNumericalOperand(String)
Syntax(SyntaxError)
Proxy for syntax errors that occur via helpers.
For example when dynamically evaluating paths passed to
the evaluate()
function.
Render(Box<RenderError>)
Proxy for render errors that occur via helpers; for example when rendering inner templates.
Io(IoError)
Proxy I/O errors.
Json(Error)
Implementations
impl HelperError
[src]
Trait Implementations
impl Debug for HelperError
[src]
impl Display for HelperError
[src]
impl Error for HelperError
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn description(&self) -> &str
1.0.0[src]
fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<Box<RenderError, Global>> for HelperError
[src]
fn from(source: Box<RenderError>) -> Self
[src]
impl From<Error> for HelperError
[src]
impl From<Error> for HelperError
[src]
impl From<HelperError> for RenderError
[src]
fn from(source: HelperError) -> Self
[src]
impl From<IoError> for HelperError
[src]
impl From<SyntaxError> for HelperError
[src]
fn from(source: SyntaxError) -> Self
[src]
Auto Trait Implementations
impl !RefUnwindSafe for HelperError
impl Send for HelperError
impl Sync for HelperError
impl Unpin for HelperError
impl !UnwindSafe for HelperError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,