Glossary: Rust Beyond the Basics
Error trait
Also written: std::error::Error, Error
The standard trait that error types implement. A custom error needs `Debug`, `Display` and this trait, whose methods all have defaults.
Glossary: Rust Beyond the Basics
Also written: std::error::Error, Error
The standard trait that error types implement. A custom error needs `Debug`, `Display` and this trait, whose methods all have defaults.