![]() |
Orchestration SDK 5.10.1
|
#include <OrchestrationErrorDelegate.h>
Inherits <NSObject>.
Instance Methods | |
(void) | - orchestrationError: |
(void) | - orchestrationServerError: |
The OrchestrationErrorDelegate
interface defines the delegate that must be implemented in order to be informed of errors during the OrchestrationProtocol
lifecycle.
Since it is the main way for the OrchestrationProtocol
to report errors it must be provided to the OrchestratorBuilder
via OrchestratorBuilder#setErrorDelegate:(id<OrchestrationErrorDelegate>)
.
The OrchestrationErrorDelegate
used by the OrchestrationProtocol
can also be modified during its lifecycle via OrchestrationProtocol#setErrorDelegate:(id<OrchestrationErrorDelegate>)
.
- (void) orchestrationError: | (OrchestrationError *) | error |
delegate that will be called when an error occurs
error | error to return |
- (void) orchestrationServerError: | (OrchestrationServerError *) | error |
delegate that will be called when an error occurrs on the server and is sent back to the client
error | error to be returned |