pub type ResultER<T> = Result<T, ErrorReport>;Expand description
Convenience type alias for Result<T, ErrorReport>.
ER stands for ErrorReport. Use this as the return type for functions that can fail with structured error reports.
§Example
use charon_error::prelude::*;
fn do_work() -> ResultER<String> {
Ok("done".to_owned())
}Aliased Type§
pub enum ResultER<T> {
Ok(T),
Err(ErrorReport),
}