InvalidLengthError
Last updated
Last updated
• Docs
/ / InvalidLengthError
new InvalidLengthError(
length
,expectedLength
):
Parameters
• length: number
• expectedLength: number
Returns
Overrides
Defined in
optional
cause:Error
Inherited from
Defined in
node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es2022.error.d.ts:26
expectedLength:
number
Defined in
length:
number
Defined in
message:
string
Inherited from
Defined in
node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es5.d.ts:1029
name:
string
Inherited from
Defined in
node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es5.d.ts:1028
optional
stack:string
Inherited from
Defined in
node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/lib/lib.es5.d.ts:1030
static
optional
prepareStackTrace: (err
,stackTraces
) =>any
Optional override for formatting stack traces
Parameters
• err: Error
• stackTraces: CallSite
[]
Returns
any
See
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
Inherited from
Defined in
packages/near-sdk-js/node_modules/@types/node/globals.d.ts:11
static
stackTraceLimit:number
Inherited from
Defined in
packages/near-sdk-js/node_modules/@types/node/globals.d.ts:13
static
captureStackTrace(targetObject
,constructorOpt
?):void
Create .stack property on a target object
Parameters
• targetObject: object
• constructorOpt?: Function
Returns
void
Inherited from
Defined in
packages/near-sdk-js/node_modules/@types/node/globals.d.ts:4
.
.
.
.
.
.
.
.