com.avaya.ccs.api

## Interface ErrorI

-     public interface ErrorI

  The `ErrorI` object is contained in a `NotificationEventI` of `NotificationType.ERROR` and carries information relating to the error that has occurred.

  Generally, `ErrorI` objects are sent when an SDK interface method was invoked and was not successful. For example, if `UserI.login(java.lang.String, java.lang.String)`) was requested and failed, the `ErrorI` sent would have a `Command` property of `Command.Login`.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getCodeNumber()`
    `Command` | `getCommand()`
    `ErrorCode` | `getErrorCode()`
    `java.lang.String` | `getMessage()`

- - ### Method Detail

    - #### getCommand

          Command getCommand()

      Returns:
        the `Command` that failed and caused the `ErrorI`

    - #### getCodeNumber

          int getCodeNumber()

      Returns:
        a code number specified by the service provider to indicate the error

    - #### getErrorCode

          ErrorCode getErrorCode()

      Returns:
        an `ErrorCode` representing the error which allows for localization for error messages

    - #### getMessage

          java.lang.String getMessage()

      Returns:
        a non-localized description of the error