1use std;
2use reqwest;
3use url;
4use serde_json;
5use tungstenite;
6
7error_chain! {
8 types {
9 Error, ErrorKind, ResultExt, Result;
10 }
11
12 errors {
13 Internal(t: String) {
14 description("invalid toolchain name")
15 display("invalid toolchain name: '{}'", t)
16 }
17 }
18
19 foreign_links {
20 ReqError(reqwest::Error);
21 InvalidHeaderError(reqwest::header::InvalidHeaderValue);
22 IoError(std::io::Error);
23 ParseFloatError(std::num::ParseFloatError);
24 UrlParserError(url::ParseError);
25 Json(serde_json::Error);
26 Tungstenite(tungstenite::Error);
27 TimestampError(std::time::SystemTimeError);
28 }
29
30}