1 #[cfg(target_os = "dragonos")] 2 use drstd as std; 3 4 pub mod parse_error; 5 pub mod runtime_error; 6 7 use std::string::String; 8 9 pub trait ErrorFormat { 10 fn error_format(&self) -> String; 11 } 12