XrpcError

open class XrpcError(val errorName: String, val errorMessage: String?, val status: Int) : RuntimeException

Base type for all errors surfaced by XrpcClient. Generated XRPC bindings extend this with typed subclasses for each declared error name; unknown error names fall through to Unknown.

Inheritors

Constructors

Link copied to clipboard
constructor(errorName: String, errorMessage: String?, status: Int)

Types

Link copied to clipboard
class Unknown(name: String, message: String?, val status: Int) : XrpcError

Fallback for any error name the caller has not mapped to a typed variant.

Properties

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