TransportError

data class TransportError(val reason: DittoError.TransportErrorReason) : DittoError

Constructors

Link copied to clipboard
fun TransportError(reason: DittoError.TransportErrorReason)

Functions

Link copied to clipboard
fun addSuppressed(p0: Throwable)
Link copied to clipboard
open fun fillInStackTrace(): Throwable
Link copied to clipboard
open override fun getLocalizedMessage(): String

A String representation of the error suitable for display.

Link copied to clipboard
open fun getStackTrace(): Array<StackTraceElement>
Link copied to clipboard
fun getSuppressed(): Array<Throwable>
Link copied to clipboard
open fun initCause(p0: Throwable): Throwable
Link copied to clipboard
open fun printStackTrace()
open fun printStackTrace(p0: PrintStream)
open fun printStackTrace(p0: PrintWriter)
Link copied to clipboard
open fun setStackTrace(p0: Array<StackTraceElement>)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open override val message: String?

A formatted description of the error. Not all errors have a message. Use the null-safe getLocalizedMessage if you don't want to have to handle null values.

Link copied to clipboard
val reason: DittoError.TransportErrorReason