Skip to main content

Class: InvalidCursorError

Defined in: ts/src/errors.ts:67

Raised when a keyset cursor is malformed, truncated, or tampered with.

Extends​

Constructors​

Constructor​

new InvalidCursorError(message, options?): InvalidCursorError

Defined in: ts/src/errors.ts:60

Parameters​

message​

string

options?​

PaginateErrorOptions & object = {}

Returns​

InvalidCursorError

Inherited from​

ValidationError.constructor

Properties​

cause?​

optional cause?: unknown

Defined in: website/node_modules/typescript/lib/lib.es2022.error.d.ts:24

Inherited from​

ValidationError.cause


details​

readonly details: Readonly<Record<string, unknown>>

Defined in: ts/src/errors.ts:17

Structured, programmatic detail payload (mirrors pypaginate's details).

Inherited from​

ValidationError.details


field?​

readonly optional field?: string

Defined in: ts/src/errors.ts:58

Inherited from​

ValidationError.field


message​

message: string

Defined in: website/node_modules/typescript/lib/lib.es5.d.ts:1075

Inherited from​

ValidationError.message


name​

name: string

Defined in: website/node_modules/typescript/lib/lib.es5.d.ts:1074

Inherited from​

ValidationError.name


stack?​

optional stack?: string

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

Inherited from​

ValidationError.stack