Page MenuHomePhabricator

Let user implementations throw a user-defined error during a user-defined validation
Open, MediumPublic

Description

Users can create a error type, and create an instance of said error type that is raised during the implementation of the validation of a user-defined type.

Related Objects

StatusSubtypeAssignedTask
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
DuplicateNone
OpenNone
OpenNone
OpenNone
OpenNone
StalledNone
ResolvedDVrandecic
Resolvedgengh
OpenNone
OpenNone
OpenNone
Resolvedcmassaro
ResolvedDVrandecic
ResolvedLindsaykwardell
Resolvedarthurlorenzi
ResolvedNone
InvalidNone
Resolvedcmassaro
Resolvedcmassaro
Resolvedcmassaro
Resolvedcmassaro
Resolvedcmassaro
ResolvedJdforrester-WMF
Resolvedcmassaro
Resolvedcmassaro
Resolvedcmassaro
ResolvedNone
OpenNone
OpenNone
OpenNone
OpenNone
ResolvedNone
ResolvedDVrandecic
OpenNone

Event Timeline

Jdforrester-WMF renamed this task from Users can raise a user-defined error during a user-defined validation to Let user implementations throw a user-defined error during a user-defined validation.Oct 6 2021, 4:50 PM
DVrandecic triaged this task as Medium priority.Oct 13 2021, 4:45 PM

There should be a test for that.

Depends on whether we can create an instance of an error type. If this is not possible, a task should be created (or the relevant task if it already exists should be linked as a blocker).