Class: ContactsError

Constructor

new ContactsError(reason, message)

Error object that represents contacts-related failure.

Parameters:
Name Type Description
reason AvayaClientServices.Services.Contacts.ContactsErrorReason

Contacts-specific error reason that causes this error.

message string

Members

name :string

Name of an error. In this case BaseError

Type:
  • string
Inherited From:

Methods

getData() → {object}

Returns optional data object.

Inherited From:
Returns:
{ object }

getMessage() → {string}

Returns message related with error.
AvayaClientServices.Base.ErrorDictionary

Inherited From:
Returns:
{ string }

getName() → {string}

Returns name of an error.

Inherited From:
Returns:
{ string }

getReason() → {AvayaClientServices.Services.Contacts.ContactsErrorReason}

Returns error reason.

Returns:
{ AvayaClientServices.Services.Contacts.ContactsErrorReason }

Contacts-specific error reason that causes this error.

©2016 Avaya Inc. All Rights Reserved.