CodedException

class CodedException(val code: Int, message: String = "", cause: Throwable? = null) : RuntimeException

Exception with a numeric code.

Constructors

Link copied to clipboard
constructor(code: Int, message: String = "", cause: Throwable? = null)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
val code: Int

Exception code.

Link copied to clipboard
open val message: String?

Functions

Link copied to clipboard

Return the stack trace array of the frames that starts with the given prefix.

Link copied to clipboard
fun Throwable.toText(prefix: String = ""): String

Return this throwable as a text.