1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// libiio-sys/src/errors.rs
//
// Copyright (c) 2018, Frank Pagliughi
//
// Licensed under the MIT license:
//   <LICENSE or http://opensource.org/licenses/MIT>
// This file may not be copied, modified, or distributed except according
// to those terms.
//
//!
//! Error definitions for the Industrial I/O Library.

error_chain! {
    foreign_links {
        Io(::std::io::Error);
        Nix(::nix::Error);
    }
}