WebexError

open class WebexError<T>

The enumeration of error types in Cisco Webex Android SDK.

Constructors

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

Types

Link copied to clipboard

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

Functions

Link copied to clipboard
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
Link copied to clipboard
Check the error type.