ContactError

A ContactError object is passed to the [contactError](../parameters/contactError.html) callback when an error occurs.

Properties

  • code: One of the predefined error codes listed below.

Constants

  • ContactError.UNKNOWN_ERROR
  • ContactError.INVALID_ARGUMENT_ERROR
  • ContactError.TIMEOUT_ERROR
  • ContactError.PENDING_OPERATION_ERROR
  • ContactError.IO_ERROR
  • ContactError.NOT_SUPPORTED_ERROR
  • ContactError.PERMISSION_DENIED_ERROR

Description

The ContactError object is returned to the user through the [contactError](../parameters/contactError.html) callback function when an error occurs.