blob: 89ab1867a4e65dcfdfed4e949f9e31554957b91e (
plain) (
tree)
|
|
#[derive(Debug)]
pub enum ErrorKind {
// CompileError,
// RuntimeError,
InternalError(&'static str),
}
#[derive(Debug)]
pub struct Error {
pub kind: ErrorKind,
}
pub type LoxResult<T> = Result<T, Error>;
|