summaryrefslogtreecommitdiffstats
path: root/src/error.rs
blob: 5a8ef708499dd2d1b3c2ca0f92681cef0c59c64b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use std::path::PathBuf;

// Module for errors using error_chain
// Might be expanded in the future

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