onError abstract method

OutOfBandPayloadDecode onError(
  1. dynamic onError(
    1. OutOfBandPayloadError
    )
)

Specifies the object that will be invoked if the OutOfBandPayload could not be decoded.

IMPORTANT
Providing the onError is required.

Params:

Returns: an OutOfBandPayloadDecode object.

Implementation

OutOfBandPayloadDecode onError(Function(OutOfBandPayloadError) onError);