derive-enum-error

Crates.ioderive-enum-error
lib.rsderive-enum-error
version0.0.1
sourcesrc
created_at2019-07-04 08:39:54.069931
updated_at2019-07-04 08:39:54.069931
descriptionDerive macro for `std::error::Error`
homepage
repositoryhttps://github.com/dyxushuai/derive-enum-error-rs
max_upload_size
id145814
size29,107
John Smith (dyxushuai)

documentation

README

derive-enum-error

Crates.io API Docs

A failure-like derive macro for the std::error::Error. The source code is mostly copied from failure_derive & err-derive.

Compare with err-derive

  • Only support enum type error
  • Auto impl From<T> for error
  • Support edition = "2018"
  • Rust version requires >= 1.30.0
  • Use source keyword instead of cause
  • Use call_site for more debug information
Commit count: 0

cargo fmt