summaryrefslogtreecommitdiffstats
path: root/src/error.rs
blob: e9a25a7982aada691672ae6af98fe006ca0e2c70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Module for errors using error_chain
// Might be expanded in the future

error_chain! {
    errors {
        ConfigParseError(filename: String) {
            description("configuration file could not be parsed"),
            display("configuration file could not be parsed: '{}'", filename),
        }
    }
}