Skip to main content

Class: PaginateError

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

Base error for all paginate failures (aliased as PaginationError).

Extends​

  • Error

Extended by​

Constructors​

Constructor​

new PaginateError(message, options?): PaginateError

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

Parameters​

message​

string

options?​

PaginateErrorOptions = {}

Returns​

PaginateError

Overrides​

Error.constructor

Properties​

cause?​

optional cause?: unknown

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

Inherited from​

Error.cause


details​

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

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

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


message​

message: string

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

Inherited from​

Error.message


name​

name: string

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

Inherited from​

Error.name


stack?​

optional stack?: string

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

Inherited from​

Error.stack