Implement libstd's `Error` trait for interop