ErrorResult<T> is a convenience alias to avoid to write types like
Result<User, Box<dyn Error>>, to allow any object implementing the
standard library Error trait to serve as the error part of a result.
Details
Details
- Reviewers
dereckson - Commits
- rLF731fe8594292: Provide ErrorResult type
pub fn run(config: Config) -> ErrorResult<()> { something_dangerous()?; Ok(()) }
Diff Detail
Diff Detail
- Repository
- rLF Limiting Factor
- Lint
Lint Passed - Unit
No Test Coverage - Branch
- type
- Build Status
Buildable 2605 Build 2853: arc lint + arc unit