Skip to content

Make DecodeError and ValidationError inherit from ValueError - #790

Merged
jcrist merged 3 commits into
msgspec:mainfrom
UnknownPlatypus:decode-error-subclass-valueerrorerror
Apr 8, 2026
Merged

jcrist merged 3 commits into
msgspec:mainfrom
UnknownPlatypus:decode-error-subclass-valueerrorerror

Conversation

@UnknownPlatypus

Copy link
Copy Markdown
Contributor

FIxes #634

@Siyet

Siyet commented Apr 8, 2026

Copy link
Copy Markdown
Contributor

Ported to the community fork msgspec-arise: PR #34

@jcrist
jcrist force-pushed the decode-error-subclass-valueerrorerror branch from 6300d0e to b7f4423 Compare April 8, 2026 18:27

@jcrist jcrist left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@jcrist
jcrist merged commit 9fb6148 into msgspec:main Apr 8, 2026
22 checks passed
@UnknownPlatypus

Copy link
Copy Markdown
Contributor Author

Awesome, thanks a lot for this library, really loving every design decision. Always lead you to the good path!
When things get ugly, it's a signal your doing stupid things and I love that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consider making DecodeError and ValidationError inherit from ValueError

3 participants