Archived
12 lines
198 B
Rust
12 lines
198 B
Rust
//! Error types for el-fmt.
|
|
|
|
use thiserror::Error;
|
|
|
|
#[derive(Debug, Error)]
|
|
pub enum FmtError {
|
|
#[error("lex error: {0}")]
|
|
Lex(String),
|
|
#[error("parse error: {0}")]
|
|
Parse(String),
|
|
}
|