1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
quick_error!{ #[derive(Debug)] /// Ocean Error pub enum Error { /// Url not found. UrlNotFound { display("Url not found or invalid.") } /// Config is not exists. ConfigNotExists { display("Config is not exists.") } } }