Debian Codegraph @

third_party/rust/audioipc2/src/errors.rs

raw
1 // Copyright © 2017 Mozilla Foundation
2 //
3 // This program is made available under an ISC-style license. See the
4 // accompanying file LICENSE for details.
5
6 error_chain! {
7 // Maybe replace with chain_err to improve the error info.
8 foreign_links {
9 Bincode(bincode::Error);
10 Io(std::io::Error);
11 Cubeb(cubeb::Error);
12 }
13
14 // Replace bail!(str) with explicit errors.
15 errors {
16 Disconnected
17 }
18 }