I'm a heavy miette user but I would like to try an error_set + eros combination. The nice thing about miette, besides the fancy UI rendering, is that it associates metadata with each error, like an error ID/code, URL, help string, etc.
It would be nice if error_set supported this natively, so that we don't have to compose so many error related libaries. Maybe something like this:
error_set! {
LoginError = {
#[error(code = "login:io", help = "Try x y z", url = "https://learn/more")]
#[display("Io Error: {0}")]
IoError(std::io::Error),
}
}
I totally understand if this is out of scope of the library.
I'm a heavy miette user but I would like to try an
error_set+eroscombination. The nice thing about miette, besides the fancy UI rendering, is that it associates metadata with each error, like an error ID/code, URL, help string, etc.It would be nice if
error_setsupported this natively, so that we don't have to compose so many error related libaries. Maybe something like this:I totally understand if this is out of scope of the library.