Interface PaginationErrorCallback
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Invoked when an async page load fails (exceptional completion,
null future, synchronous
throw, or timeout). Runs on the same thread that applies the settle — always the main server
thread for settles routed through BukkitSettleDispatcher.-
Method Summary
Modifier and TypeMethodDescriptionvoidonError(PageRequest request, Throwable error) Handles a failed page load.
-
Method Details
-
onError
Handles a failed page load.- Parameters:
request- the request that failed, never nullerror- the failure cause, never null
-