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

17 lines
308 B
Rust
Raw Normal View History

use crate::{bytecode::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,
},
}