Closed czocher closed 1 year ago
As we have Other
variant, should the error enum be #[non_exhaustive]
anymore?
#[non_exhaustive]
gives us the ability to specify other errors in the future, so it should remain for backwards-compatibility in my opinion. It's overall a suggested approach towards error enums in Rust.
Closes #18