file_fetcher/
errors.rs

1// @Author: Lashermes Ronan <ronan>
2// @Date:   25-07-2017
3// @Email:  ronan.lashermes@inria.fr
4// @Last modified by:   ronan
5// @Last modified time: 25-07-2017
6// @License: MIT
7
8
9
10 error_chain! {
11     foreign_links {
12        Fmt(::std::fmt::Error);
13        Io(::std::io::Error);
14        Reqwest(::reqwest::Error);
15        Url(::reqwest::UrlError);
16        SerdeJson(::serde_json::Error);
17    }
18
19    // errors {
20    //     ProtocolNotSupported(protocol: String) {
21    //         description("protocol not supported")
22    //         display("protocol {} is not supported", protocol)
23    //     }
24    // }
25 }