WebexError

open class WebexError<T>

The enumeration of error types in Cisco Webex Android SDK.

Constructors

Link copied to clipboard
open fun WebexError()
The default constructor
Link copied to clipboard
open fun WebexError(errorCode: WebexError.ErrorCode)
The constructor with the error code
Link copied to clipboard
open fun WebexError(errorCode: WebexError.ErrorCode, message: String)
The constructor with the error code and error message
Link copied to clipboard
open fun WebexError(    errorCode: WebexError.ErrorCode,     message: String,     data: T)
The constructor with the error code and error message

Types

Link copied to clipboard
enum ErrorCode

Functions

Link copied to clipboard
open fun from(code: WebexError.ErrorCode): WebexError
open fun from(message: String): WebexError
open fun from(t: Throwable): WebexError
open fun from(res: Response): WebexError
Link copied to clipboard
open fun getData(): T
Link copied to clipboard
open fun getErrorCode(): Int
Link copied to clipboard
open fun getErrorMessage(): String
Link copied to clipboard
open fun is(code: WebexError.ErrorCode): Boolean
Check the error type.

Properties

Link copied to clipboard
protected open var _data: T
Link copied to clipboard
protected open var errorCode: WebexError.ErrorCode
Link copied to clipboard
protected open var message: String