Add ApplicationError type

This commit is contained in:
Matthias Beyer 2015-10-24 18:43:39 +02:00
parent 4d83b7c63f
commit e19f7117e6
1 changed files with 14 additions and 0 deletions

14
src/error.rs Normal file
View File

@ -0,0 +1,14 @@
use std::error::Error;
struct ApplicationError {
str: String
}
impl Error for ApplicationError {
fn description(&self) -> &str {
}
fn cause(&self) -> Option<&Error> {
}
}