Struct ReportError
pub struct ReportError { /* private fields */ }
An error that knows how to present itself nicely, with the right spans/notes etc.
Implementations
impl ReportError
fn message(&self) -> &strThe error message, without the source context.
fn span(&self) -> &SpanWhere in the template source the error occurred.
fn filename(&self) -> &strThe name of the template the error occurred in.
Trait Implementations
impl Clone for ReportError
fn clone(&self) -> Self
impl Debug for ReportError
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for ReportError
impl PartialEq for ReportError
fn eq(&self, other: &Self) -> bool