Arnavion / derive-error-chain

A Macros 1.1 implementation of https://crates.io/crates/error-chain
19 stars 1 forks source link

Support specifying custom `Error::cause` #10

Closed Arnavion closed 7 years ago

Arnavion commented 7 years ago

error-chain doesn't support it, but it's a nice to have for custom errors like JSON { filename: String, error: ::serde_json::Error } that won't quite work as regular foreign links.

Ref: https://github.com/brson/error-chain/pull/109