Skip to content

Develop and throw specific Error()s #92

@dapplion

Description

@dapplion

Define all expected and possible error causes beforehand and throw the Error classes with added metadata. @wemeetagain Proposed to do something similar in @chainsafe/lodestar and it might be useful to do the same in upstream dependencies.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions