EntityPaginationPageError<O extends Object> class
final
A page fetch failed. The error is rethrown to the caller right after this event, and the failed page is evicted so a retry actually retries.
- Inheritance
-
- Object
- EntityPaginationEvent<
O> - EntityPaginationPageEvent<
O> - EntityPaginationPageError
Constructors
-
EntityPaginationPageError(EntityPagination<
O> pagination, int page, Object error, StackTrace stackTrace, Duration elapsedTime)
Properties
- elapsedTime → Duration
-
How long the failed fetch took.
final
- error → Object
-
The error thrown by EntityPagination.pageLoader.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- limit → int
-
The page size. Same as
pagination.limit.no setterinherited - page → int
-
The page (1-based) this event refers to.
finalinherited
-
pagination
→ EntityPagination<
O> -
The EntityPagination that emitted this event.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTrace → StackTrace
-
The stack trace of error.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited