Rust compiler has an error code index: Rust error codes index - Error codes index. I like error codes as it makes it easy to deal with errors and their documentation by referring to the error code.
Is there a crate which offers something like this, or should I do it myself?