PaginationNotSyncedError
ArchivedThese are the docs for ng-qubee 3.8. Read the 4.0 docs for @qubeejs/angular.
Defined in: src/lib/errors/pagination-not-synced.error.ts:10
Thrown when a pagination helper that needs state.lastPage is called
before PaginationService.paginate() has ever synced a value.
Examples: NgQubeeService.lastPage(), NgQubeeService.totalPages().
Safe-for-templates predicates (isLastPage, hasNextPage, etc.) do not
throw and return conservative defaults instead.
Extends
Section titled “Extends”Error
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new PaginationNotSyncedError(
action):PaginationNotSyncedError
Defined in: src/lib/errors/pagination-not-synced.error.ts:17
Parameters
Section titled “Parameters”action
Section titled “action”string
Short imperative describing what the caller was trying to do (e.g. “navigate to last page”, “read totalPages”). Surfaced in the error message so the cause is obvious at the call site.
Returns
Section titled “Returns”PaginationNotSyncedError
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