@ethereumjs/util / EthereumJSError
Defined in: packages/rlp/dist/esm/errors.d.ts:19
Generic EthereumJS error with attached metadata
Error
T
extends object
new EthereumJSError<
T
>(type
,message?
,stack?
):EthereumJSError
<T
>
Defined in: packages/rlp/dist/esm/errors.d.ts:23
T
string
string
EthereumJSError
<T
>
Error.constructor
message:
string
Defined in: node_modules/typescript/lib/lib.es5.d.ts:1077
Error.message
name:
string
Defined in: node_modules/typescript/lib/lib.es5.d.ts:1076
Error.name
optional
stack:string
Defined in: node_modules/typescript/lib/lib.es5.d.ts:1078
Error.stack
type:
T
Defined in: packages/rlp/dist/esm/errors.d.ts:22
static
optional
prepareStackTrace: (err
,stackTraces
) =>any
Defined in: node_modules/@types/node/globals.d.ts:143
Optional override for formatting stack traces
Error
CallSite
[]
any
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
Error.prepareStackTrace
static
stackTraceLimit:number
Defined in: node_modules/@types/node/globals.d.ts:145
Error.stackTraceLimit
getMetadata():
EthereumJSErrorMetaData
Defined in: packages/rlp/dist/esm/errors.d.ts:24
toObject():
EthereumJSErrorObject
Defined in: packages/rlp/dist/esm/errors.d.ts:28
Get the metadata and the stacktrace for the error.
static
captureStackTrace(targetObject
,constructorOpt?
):void
Defined in: node_modules/@types/node/globals.d.ts:136
Create .stack property on a target object
object
Function
void
Error.captureStackTrace