Type Definition lal::LalResult [] [src]

type LalResult<T> = Result<T, CliError>;

Type alias to stop having to type out CliError everywhere.

Most functions can simply add the return type LalResult<T> for some T, and enjoy the benefit of using try! or ? without having to worry about the many different error types that can arise from using curl, json serializers, file IO, user errors, and potential logic bugs.