docs.rs failed to build error-chain-mini-0.1.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
error-chain-mini-0.2.0
error-chain-mini
I think error-chain is good, especially I love chain_err
method.
However, sometimes I feel it too complex.
I don't want to generate ResultExt
and ChainedError
by macro. Isn't it confusing?
So, I made this tiny library, providing very straight forward implementation of
ResultExt
, ChainedError
, and some related traits.
In addition, You can use derive
to implement your own ErrorKind
type.
Example
extern crate error_chain_mini;
extern crate error_chain_mini_derive;
use io;
use *;
use Error;
type MyError = ;
type MyResult<T> = ;
Required minimum version of Rust
1.26.0 (match_default_bindings is needed)
License
This project is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.