geeny-api 0.3.0

Crate for consuming the Geeny APIs as a client
Documentation
// Copyright 2017 Telefónica Germany Next GmbH. See the COPYRIGHT file at
// the top-level directory of this distribution
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.

//! Geeny API Error Types
//!
//! These error types are generated by [Error Chain](https://docs.rs/error-chain/).
//! These types can be combined with other crates using `error_chain` in the following way:
//!
//! ```rust
//! #[macro_use]
//! extern crate error_chain;
//! extern crate geeny_api;
//!
//! mod your_error {
//!     use geeny_api::errors;
//!
//!     error_chain!{
//!         links {
//!             GeenyApi(errors::Error, errors::ErrorKind);
//!         }
//!     }
//! }
//!
//! fn main() {}
//! ```

use reqwest;

error_chain!{
    foreign_links {
        Reqwest(reqwest::Error);
    }
}