basalt / search/src / SearchPaginationError
Class: SearchPaginationError
Defined in: search/src/search.ts:18
limit/offset that is not a non-negative integer, or a limit above the configured maxLimit. Both usually arrive from a query string, so they are checked here once rather than left to each engine to reject (or not).
Extends
Constructors
Constructor
> new SearchPaginationError(message): SearchPaginationError
Defined in: search/src/search.ts:20
Parameters
message
string
Returns
SearchPaginationError
Overrides
Properties
code
> readonly code: string
Defined in: core/src/errors.ts:25
Inherited from
details?
> readonly optional details?: Record<string, unknown>
Defined in: core/src/errors.ts:28
Structured payload passed to the constructor, exactly as given (never sanitised here).
Inherited from
status
> readonly status: 400 = 400
Defined in: search/src/search.ts:19