ChainSafe / ChainSafe/discv5

Develop and throw specific Error()s

Open
#92 0 comments 0 reactions 0 assignees View on GitHub
prio-low
Dominant language
TypeScript
Stars
31
Forks
21
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.