@ethereumjs/util / EthereumJSError
Defined in: packages/rlp/dist/esm/errors.d.ts:19
Generic EthereumJS error with attached metadata
ErrorT 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
optionalstack: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
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/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.
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