-
-
Notifications
You must be signed in to change notification settings - Fork 182
Custom error classes with error_if #1185
Copy link
Copy link
Open
Description
Right now error_if always raises an EquinoxRuntimeError. Is it possible to have this be user controlled, so it could be eg ValueError or some custom user error type? I saw #762 the warning category can be specified, but I know the runtime error stuff is tricky so not sure if there's a hard reason error_if couldn't be modified to allow this.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels