GamebaseException

An object that contains the success or failure of the execution of the Gamebase function. The error code is defined in the com.toast.android.gamebase.base.GamebaseError class.

See also

Constructors

Link copied to clipboard
constructor(domain: String, code: Int, message: String)
Constructs a new GamebaseException.
constructor(domain: String, code: Int, cause: Throwable)
Constructs a new GamebaseException.
constructor(domain: String, code: Int, format: String, args: Array<Any>)
Constructs a new GamebaseException.
constructor(domain: String, code: Int, message: String, cause: Throwable)
Constructs a new GamebaseException.

Functions

Link copied to clipboard
fun addSuppressed(exception: Throwable)
Link copied to clipboard
Link copied to clipboard
open fun from(@Nullable jsonString: String): GamebaseException
Link copied to clipboard
open fun getCause(): Throwable
Link copied to clipboard
open fun getCode(): Int
Get result code.
Link copied to clipboard
open fun getDetailCode(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getDomain(): String
Get result domain.
Link copied to clipboard
open fun getExtra(key: String): Any
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getMessage(): String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun initCause(cause: Throwable): Throwable
Link copied to clipboard
open fun printStackTrace()
Link copied to clipboard
open fun putExtra(key: String, value: Any)
Link copied to clipboard
open fun putExtras(extras: Map<String, Any>)
Link copied to clipboard
open fun setStackTrace(stackTrace: Array<StackTraceElement>)
Link copied to clipboard
Link copied to clipboard
open fun toJsonString(): String
Link copied to clipboard
Link copied to clipboard
open fun toString(): String