Page MenuHomePhabricator

Allow users to create instances of errors in composition
Open, MediumPublic

Description

It seems I cannot create instances of errors.

(Which kinda makes sense, since error types are not types).

There are a few possible approaches to that:
a) bespoke implementation to make this happen
b) create a function that takes an error type and returns a type, which then is used

On first thought, I prefer b over a.

Related Objects

StatusSubtypeAssignedTask
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
DuplicateNone
OpenNone
OpenNone
OpenNone
Resolvedcmassaro
ResolvedBUG REPORTcmassaro
Resolvedcmassaro
OpenNone
OpenNone
Resolvedgengh
DeclinedLindsaykwardell
ResolvedLindsaykwardell
Resolvedcmassaro
Resolvedcmassaro
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
Resolvedcmassaro
ResolvedDVrandecic
ResolvedDVrandecic
ResolvedDVrandecic
ResolvedDVrandecic
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenSimoneThisDot
OpenSimoneThisDot
OpenNone
Resolvedcmassaro
In ProgressSimoneThisDot
ResolvedSimoneThisDot
Resolvedcmassaro
In Progresscmassaro
ResolvedBUG REPORTJdforrester-WMF
In ProgressSimoneThisDot
Resolvedgengh
Resolvedgengh
Resolvedcmassaro
Resolvedcmassaro
ResolvedJdforrester-WMF
ResolvedDVrandecic
ResolvedDVrandecic
OpenDVrandecic
OpenNone
OpenNone
Resolvedcmassaro
OpenNone
OpenNone
Resolvedcmassaro
OpenNone
OpenNone
ResolvedJdforrester-WMF
ResolvedDVrandecic
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
OpenNone
ResolvedJdforrester-WMF
ResolvedAdesojiThisDot
OpenNone
OpenNone
Resolvedgengh
Resolvedcmassaro
OpenNone

Event Timeline

Jdforrester-WMF renamed this task from Need to create instances of errors in composition to Allow users to create instances of errors in composition.Aug 25 2021, 4:42 PM
DVrandecic triaged this task as Medium priority.Oct 6 2021, 4:39 PM