Skip to content

@lelantos-org/sdk / core/errors / PermitRejectedError

Class: PermitRejectedError โ€‹

Defined in: @lelantos-org/sdk/dist/core/errors.d.ts:176

User rejected the permit signature, or sig was malformed.

Extends โ€‹

Constructors โ€‹

Constructor โ€‹

ts
new PermitRejectedError(message?, opts?): PermitRejectedError;

Defined in: @lelantos-org/sdk/dist/core/errors.d.ts:177

Parameters โ€‹

ParameterType
message?string
opts?WalletErrorOptions

Returns โ€‹

PermitRejectedError

Overrides โ€‹

WalletError.constructor

Properties โ€‹

cause? โ€‹

ts
optional cause?: unknown;

Defined in: typescript/lib/lib.es2022.error.d.ts:26

Inherited from โ€‹

WalletError.cause


code โ€‹

ts
readonly code: "PERMIT_REJECTED";

Defined in: @lelantos-org/sdk/dist/core/errors.d.ts:42

Inherited from โ€‹

WalletError.code


context โ€‹

ts
readonly context: ErrorContext;

Defined in: @lelantos-org/sdk/dist/core/errors.d.ts:43

Inherited from โ€‹

WalletError.context


message โ€‹

ts
message: string;

Defined in: typescript/lib/lib.es5.d.ts:1077

Inherited from โ€‹

WalletError.message


name โ€‹

ts
name: string;

Defined in: typescript/lib/lib.es5.d.ts:1076

Inherited from โ€‹

WalletError.name


stack? โ€‹

ts
optional stack?: string;

Defined in: typescript/lib/lib.es5.d.ts:1078

Inherited from โ€‹

WalletError.stack

Methods โ€‹

withContext() โ€‹

ts
withContext(extra): this;

Defined in: @lelantos-org/sdk/dist/core/errors.d.ts:46

Merge additional context in place and return this for rethrowing.

Parameters โ€‹

ParameterType
extraErrorContext

Returns โ€‹

this

Inherited from โ€‹

WalletError.withContext

Lelantosno cookies ๐Ÿช ยท no tracking ๐Ÿ‘๏ธ ยท no accounts ๐Ÿ‘คwalletexplorer4536080GitHub