InvalidSignature

@twine-protocol/twine-core v0.1.0Docs


twine-js / @twine-protocol/twine-core / InvalidSignature

Class: InvalidSignature

Signifies that the signature is invalid

Extends

Constructors

new InvalidSignature()

new InvalidSignature(msg, ...params): InvalidSignature

Create a new InvalidSignature error

Parameters

Parameter
Type
Description

msg

string

The error message

...params

any[]

-

Returns

InvalidSignature

Overrides

TwineError.constructor

Defined in

packages/twine-core/src/errors.ts:25

Properties

Property
Modifier
Type
Description
Inherited from
Defined in

prepareStackTrace?

static

(err: Error, stackTraces: CallSite[]) => any

Optional override for formatting stack traces See https://v8.dev/docs/stack-trace-api#customizing-stack-traces

TwineError.prepareStackTrace

node_modules/@types/node/globals.d.ts:28

stackTraceLimit

static

number

-

TwineError.stackTraceLimit

node_modules/@types/node/globals.d.ts:30

name

public

string

-

node_modules/typescript/lib/lib.es5.d.ts:1076

message

public

string

-

TwineError.message

node_modules/typescript/lib/lib.es5.d.ts:1077

stack?

public

string

-

node_modules/typescript/lib/lib.es5.d.ts:1078

cause?

public

unknown

-

node_modules/typescript/lib/lib.es2022.error.d.ts:24

Methods

captureStackTrace()

captureStackTrace(targetObject, constructorOpt)

static captureStackTrace(targetObject, constructorOpt?): void

Create .stack property on a target object

Parameters

Parameter
Type

targetObject

object

constructorOpt?

Function

Returns

void

Inherited from

TwineError.captureStackTrace

Defined in

node_modules/@types/node/globals.d.ts:21

captureStackTrace(targetObject, constructorOpt)

static captureStackTrace(targetObject, constructorOpt?): void

Create .stack property on a target object

Parameters

Parameter
Type

targetObject

object

constructorOpt?

Function

Returns

void

Inherited from

TwineError.captureStackTrace

Defined in

node_modules/bun-types/globals.d.ts:1630

Last updated