1 pub mod parse_error; 2 pub mod runtime_error; 3 4 use std::string::String; 5 6 pub trait ErrorFormat { 7 fn error_format(&self) -> String; 8 } 9
1 pub mod parse_error; 2 pub mod runtime_error; 3 4 use std::string::String; 5 6 pub trait ErrorFormat { 7 fn error_format(&self) -> String; 8 } 9