-
Notifications
You must be signed in to change notification settings - Fork 12
Discussion: Error Codes #80
Copy link
Copy link
Open
Labels
aspirationalSomething we'd like to work on when resources permit.Something we'd like to work on when resources permit.enhancementA suggestion to improve the packageA suggestion to improve the package
Description
As we're trying to write more front-end friendly code (e.g. PMGI), I'm finding that the error cases we have don't quite provide enough info. PMParamError can mean you specified P, T and d. It can also mean you specified an insane property called JX.
Proposed solutions: more error types or embed concrete error codes with the error so client code can avoid trying to process strings.
Happy to dig into either solution pending discussion.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
aspirationalSomething we'd like to work on when resources permit.Something we'd like to work on when resources permit.enhancementA suggestion to improve the packageA suggestion to improve the package