onError abstract method

OutOfBandOperation onError(
  1. dynamic onError(
    1. OutOfBandOperationError
    )
)

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:

Returns: an OutOfBandOperation object.

Implementation

OutOfBandOperation onError(Function(OutOfBandOperationError) onError);