onError abstract method
- dynamic onError( )
Specifies the object that will be invoked if there was an error handling the OutOfBandPayload: the payload could not be decrypted, the server could not be reached, the server returned an error, etc. The specified object will receive an OutOfBandOperationError.
IMPORTANT
Providing the onError is required.
Params:
- onError: the
Function
which receives an OutOfBandOperationError.
Returns: an OutOfBandOperation object.
Implementation
OutOfBandOperation onError(Function(OutOfBandOperationError) onError);