@ethereumjs/util / EthereumJSError
Defined in: packages/rlp/src/errors.ts:26
Generic EthereumJS error with attached metadata
ErrorT extends object
new EthereumJSError<
T>(type,message?,stack?):EthereumJSError<T>
Defined in: packages/rlp/src/errors.ts:28
T
string
string
EthereumJSError<T>
Error.constructor
message:
string
Defined in: node_modules/typescript-6/lib/lib.es5.d.ts:1075
Error.message
name:
string
Defined in: node_modules/typescript-6/lib/lib.es5.d.ts:1074
Error.name
optionalstack?:string
Defined in: node_modules/typescript-6/lib/lib.es5.d.ts:1076
Error.stack
type:
T
Defined in: packages/rlp/src/errors.ts:27
staticoptionalprepareStackTrace?: (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
staticstackTraceLimit:number
Defined in: node_modules/@types/node/globals.d.ts:145
Error.stackTraceLimit
getMetadata():
EthereumJSErrorMetaData
Defined in: packages/rlp/src/errors.ts:34
toObject():
EthereumJSErrorObject
Defined in: packages/rlp/src/errors.ts:41
Get the metadata and the stacktrace for the error.
staticcaptureStackTrace(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