We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ff4638 commit a243529Copy full SHA for a243529
packages/std/src/errors/std_error.rs
@@ -116,7 +116,7 @@ where
116
// specialization at home:
117
let kind = if inner.is::<str::Utf8Error>() || inner.is::<string::FromUtf8Error>() {
118
ErrorKind::Parsing
119
- } else if inner.is::<OverflowError>() {
+ } else if inner.is::<ConversionOverflowError>() || inner.is::<OverflowError>() {
120
ErrorKind::Overflow
121
} else if inner.is::<serde_json::Error>()
122
|| inner.is::<rmp_serde::encode::Error>()
0 commit comments