Skip to content

Discussion: Error Codes #80

@jranalli

Description

@jranalli

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    aspirationalSomething we'd like to work on when resources permit.enhancementA suggestion to improve the package

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions