Type Alias Result
Source pub type Result<T> = Result<T, FernError>;
Expand description
A specialized Result type for fernctl operations.
This type alias reduces boilerplate when returning errors from functions:
ⓘuse fernctl::error::Result;
fn load_config(path: &Path) -> Result<Config> {
}
It is equivalent to std::result::Result<T, FernError>.
enum Result<T> {
Ok(T),
Err(FernError),
}
Contains the success value