13 lines
161 B
Rust
13 lines
161 B
Rust
use thiserror::Error;
|
|
|
|
#[derive(Debug)]
|
|
struct NotError;
|
|
|
|
#[derive(Error, Debug)]
|
|
#[error("...")]
|
|
pub struct ErrorStruct {
|
|
source: NotError,
|
|
}
|
|
|
|
fn main() {}
|