15 lines
195 B
Rust
15 lines
195 B
Rust
|
use std::error::Error;
|
||
|
|
||
|
struct ApplicationError {
|
||
|
str: String
|
||
|
}
|
||
|
|
||
|
impl Error for ApplicationError {
|
||
|
|
||
|
fn description(&self) -> &str {
|
||
|
}
|
||
|
|
||
|
fn cause(&self) -> Option<&Error> {
|
||
|
}
|
||
|
}
|