15 lines
185 B
Rust
15 lines
185 B
Rust
use thiserror::Error;
|
|
|
|
#[derive(Debug)]
|
|
pub struct NotError;
|
|
|
|
#[derive(Error, Debug)]
|
|
#[error("...")]
|
|
pub enum ErrorEnum {
|
|
Broken {
|
|
source: NotError,
|
|
},
|
|
}
|
|
|
|
fn main() {}
|