InvalidLimitError
ArchivedThese are the docs for ng-qubee 3.8. Read the 4.0 docs for @qubeejs/angular.
Defined in: src/lib/errors/invalid-limit.error.ts:9
Thrown when a limit value does not satisfy the active driver’s constraints
Validation is driver-scoped: most drivers require an integer >= 1, while
the NestJS driver additionally accepts -1 as a “fetch all items” sentinel
(as documented by nestjs-paginate). The message is tailored accordingly so
the caller understands which values are permitted.
Extends
Section titled “Extends”Error
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new InvalidLimitError(
limit,allowFetchAll?):InvalidLimitError
Defined in: src/lib/errors/invalid-limit.error.ts:15
Parameters
Section titled “Parameters”number
The rejected limit value
allowFetchAll?
Section titled “allowFetchAll?”boolean = false
Whether the active driver accepts -1 (fetch all)
Returns
Section titled “Returns”InvalidLimitError
Overrides
Section titled “Overrides”Error.constructor
Properties
Section titled “Properties”message
Section titled “message”message:
string
Defined in: typescript/lib/lib.es5.d.ts:1075
Inherited from
Section titled “Inherited from”Error.message
name:
string
Defined in: typescript/lib/lib.es5.d.ts:1074
Inherited from
Section titled “Inherited from”Error.name
stack?
Section titled “stack?”
optionalstack?:string
Defined in: typescript/lib/lib.es5.d.ts:1076
Inherited from
Section titled “Inherited from”Error.stack