Error

open class Error(    var code: Int,     var message: String?,     val throwable: Throwable? = null)

Container to encapsulate all errors, to ease passing around error code + error message in The API Callbacks.

Constructors

Link copied to clipboard
fun Error(    code: Int,     message: String?,     throwable: Throwable? = null)

Properties

Link copied to clipboard
var code: Int

The error code.

Link copied to clipboard
var message: String?

The description of the error.

Link copied to clipboard
val throwable: Throwable? = null

Throwable in the case if an exception has been encountered

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard