pub enum BaseError {
Yaml(Error),
Expr {
expr: String,
message: String,
},
}Expand description
Errors surfaced by the base engine. Parsing/eval degrade gracefully inside the renderer (producing error blocks / empty cells), so this is mostly for callers that want to parse a base explicitly.
Variants§
Trait Implementations§
Source§impl Error for BaseError
impl Error for BaseError
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()
Auto Trait Implementations§
impl !RefUnwindSafe for BaseError
impl !UnwindSafe for BaseError
impl Freeze for BaseError
impl Send for BaseError
impl Sync for BaseError
impl Unpin for BaseError
impl UnsafeUnpin for BaseError
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