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 2745c53 commit 3d453a1Copy full SHA for 3d453a1
src/msgspec/_core.c
@@ -22378,7 +22378,7 @@ PyInit__core(void)
22378
st->DecodeError = PyErr_NewExceptionWithDoc(
22379
"msgspec.DecodeError",
22380
"An error occurred while decoding an object",
22381
- st->MsgspecError, NULL
+ PyTuple_Pack(2, st->MsgspecError, PyExc_ValueError), NULL
22382
);
22383
if (st->DecodeError == NULL)
22384
return NULL;
0 commit comments