On mobile the whole page text is aligned center which makes it really hard to read.
#[derive(Debug, Error)
enum AppError {
#[error("io: {0}")]
Io(#[from] io::Error)
}
Automatically generates From impls like this and a Display impl that lets you describe the error case with more detail. Very very good ergonomics and completely transparent to downstream libraries.
opinions are my own
mastodon: @[email protected]
Boston, MA