1 2 3 4 5 6 7
//! Error handling with this crate's `Result` type. use std::error::Error; use std::result::Result as StdResult; /// Specialized `Result` type used for error handling in this crate. pub type Result<T> = StdResult<T, Box<Error>>;
1 2 3 4 5 6 7
//! Error handling with this crate's `Result` type. use std::error::Error; use std::result::Result as StdResult; /// Specialized `Result` type used for error handling in this crate. pub type Result<T> = StdResult<T, Box<Error>>;