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 Details

    • onOrchestrationError

      void onOrchestrationError(OrchestrationError error)
      callback that will be called when an error occurs
      Parameters:
      error - error to be returned
    • onOrchestrationServerError

      void onOrchestrationServerError(OrchestrationServerError error)
      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