X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;ds=sidebyside;f=lightning%2Fsrc%2Futil%2Ferrors.rs;h=f67621c828ca521f4739d99ec5a54760310cb1a8;hb=99e2283aee3fb7ab512ad5688d2eb5e926d6d9f9;hp=a2a45a7b3afc66372ff3e41e6655d9a199b67099;hpb=8fb4a3ddc2b1b70ac7032a5904ad79114a77b8dc;p=rust-lightning diff --git a/lightning/src/util/errors.rs b/lightning/src/util/errors.rs index a2a45a7b..f67621c8 100644 --- a/lightning/src/util/errors.rs +++ b/lightning/src/util/errors.rs @@ -13,6 +13,7 @@ use std::fmt; /// Indicates an error on the client's part (usually some variant of attempting to use too-low or /// too-high values) +#[derive(Clone)] pub enum APIError { /// Indicates the API was wholly misused (see err for more). Cases where these can be returned /// are documented, but generally indicates some precondition of a function was violated.