@ethereumjs/util / EthereumJSErrorMetaData
EthereumJSErrorMetaData =
Record
<string
,string
|number
|null
>
Defined in: packages/rlp/dist/esm/errors.d.ts:8
Generic EthereumJS error class with metadata attached
Kudos to https://github.com/ChainSafe/lodestar monorepo for the inspiration :-) See: https://github.com/ChainSafe/lodestar/blob/unstable/packages/utils/src/errors.ts