Interface OrchestrationErrorCallback
public interface OrchestrationErrorCallback
The
OrchestrationErrorCallback
interface defines the callback that must be implemented in
order to be informed of errors during the Orchestrator
lifecycle.
Since it is the main way for the Orchestrator
to report errors it must be provided to
the Orchestrator.Builder
via Orchestrator.Builder.setErrorCallback(OrchestrationErrorCallback)
.
The OrchestrationErrorCallback
used by the Orchestrator
can also be modified
during its lifecycle via Orchestrator.setErrorCallback(OrchestrationErrorCallback)
.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
callback that will be called when an error occursvoid
callback that will be called when an error occurs on the server and is sent back to the client
-
Method Details
-
onOrchestrationError
callback that will be called when an error occurs- Parameters:
error
- error to be returned
-
onOrchestrationServerError
callback that will be called when an error occurs on the server and is sent back to the client- Parameters:
error
- error to be returned
-