podcasts/hammond-data/src/errors.rs
Jordan Petridis 74a1aae168
Upgraded diesel to 0.99 and switched from the git master into crated.io.
Also did a cargo upgrade of all the dependancies.
Notable upgrades are r2d2, lazystatic 1.0, loggerv 0.6 and rss 1.2
2017-12-02 01:39:28 +02:00

19 lines
369 B
Rust

use diesel::result;
use diesel_migrations::RunMigrationsError;
use rss;
use reqwest;
use r2d2;
use std::io;
error_chain! {
foreign_links {
R2D2Error(r2d2::Error);
DieselResultError(result::Error);
DieselMigrationError(RunMigrationsError);
RSSError(rss::Error);
ReqError(reqwest::Error);
IoError(io::Error);
}
}