1
0
dust/dust-lang/src/dust_error.rs

17 lines
302 B
Rust
Raw Normal View History

2024-09-07 10:38:12 +00:00
use crate::{vm::VmError, LexError, ParseError};
pub enum DustError<'src> {
LexError {
error: LexError,
source: &'src str,
},
ParseError {
error: ParseError,
source: &'src str,
},
VmError {
error: VmError,
source: &'src str,
},
}