onError abstract method

Registration onError(
  1. dynamic onError(
    1. OperationError
    )
)

Specifies the object that will be invoked if the registration failed.

IMPORTANT
Providing the onError is required.

Params:

Returns: a Registration object.

Implementation

Registration onError(Function(OperationError) onError);