Improve error formatting of parse and ast-to-ir errors
Signed-off-by: Olivier <olivier@librepush.net>
This commit is contained in:
parent
dd74768ec6
commit
b6181eb204
|
@ -27,10 +27,10 @@ pub enum InterpreterError<LE: Debug + Clone, OE: Debug> {
|
|||
#[error("failed to write to output: {underlying:?}")]
|
||||
OutputError { underlying: OE },
|
||||
|
||||
#[error("failed to parse template: ")]
|
||||
#[error("failed to parse template: {0}")]
|
||||
ParseError(#[from] ParseError),
|
||||
|
||||
#[error("failed to process parsed template: ")]
|
||||
#[error("failed to process parsed template: {0}")]
|
||||
AstToIrError(#[from] AstToIrError),
|
||||
|
||||
#[error("error finding templates to load: {0}")]
|
||||
|
|
Loading…
Reference in New Issue