ethereumjs-monorepo

@ethereumjs/util


@ethereumjs/util / EthereumJSErrorWithoutCode

Function: EthereumJSErrorWithoutCode()

EthereumJSErrorWithoutCode(message?, stack?): EthereumJSError<{ code: string; }>

Defined in: packages/rlp/dist/esm/errors.d.ts:36

Parameters

message?

string

Optional error message

stack?

string

Optional stack trace

Returns

EthereumJSError<{ code: string; }>

Deprecated

Use EthereumJSError with a set error code instead