-
Notifications
You must be signed in to change notification settings - Fork 5
Closed
Labels
good first issueGood for newcomersGood for newcomersreleasedIncluded in a releaseIncluded in a release
Description
Is your feature request related to a problem?
We have several cases where we check that a number is in some interval. However, error messages vastly differ.
Desired solution
- New error class
OutOfBoundsErrorthat inherits fromValueError - The bounds and the actual value should be passed to the constructor as arguments
- The error message should then be build in the constructor and passed to the
superconstructor
Possible alternatives (optional)
No response
Screenshots (optional)
No response
Additional Context (optional)
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomersreleasedIncluded in a releaseIncluded in a release
Type
Projects
Status
✔️ Done