[−][src]Enum bracket::error::render::RenderError
Errors generated during rendering.
Variants
PartialNotFound(String)
Error when a partial could not be found.
VariableNotFound(String)
Error when a variable could not be resolved.
HelperNotFound(String)
Error when a helper could not be found.
EvaluatePath(String)
Error when evaluating a path and a syntax error occurs.
Paths can be dynamically evaluated when the evaluate() function is called inside a helper.
PartialCycle(String)
Error when a cycle is detected whilst handling a partial.
HelperCycle(String)
Error when a cycle is detected whilst handling a helper.
PartialIdentifier(String)
Error when a partial is not a simple identifier.
BlockIdentifier(String)
Error when a block is not a simple identifier.
Error attempting to invoke a sub-expression outside of a partial target context.
Helper(HelperError)
Wrap a helper error.
Io(IoError)
Proxy for IO errors.
Json(Error)
Proxy for JSON errors.
Trait Implementations
impl Debug for RenderError
[src]
impl Display for RenderError
[src]
impl Eq for RenderError
[src]
impl Error for RenderError
[src]
pub fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn description(&self) -> &str
1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<Error> for RenderError
[src]
impl From<Error> for RenderError
[src]
impl From<HelperError> for RenderError
[src]
pub fn from(source: HelperError) -> Self
[src]
impl From<IoError> for RenderError
[src]
impl From<RenderError> for Error
[src]
pub fn from(source: RenderError) -> Self
[src]
impl PartialEq<RenderError> for RenderError
[src]
Auto Trait Implementations
impl !RefUnwindSafe for RenderError
impl Send for RenderError
impl Sync for RenderError
impl Unpin for RenderError
impl !UnwindSafe for RenderError
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>,