Skip to content

Commit

Permalink
Make UnknownCodecError inherit from ValueError
Browse files Browse the repository at this point in the history
  • Loading branch information
cwognum committed Jan 17, 2025
1 parent 37ab541 commit e08d083
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion numcodecs/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""


class UnknownCodecError(Exception):
class UnknownCodecError(ValueError):
"""
An exception that is raised when trying to receive a codec that has not been registered.
Expand Down

0 comments on commit e08d083

Please sign in to comment.