RpcError

open class RpcError(val code: Int, val message: String, cause: Throwable? = null) : PortalException.Api

Thrown when an RPC request fails.

This is an open class to allow io.portalhq.android.provider.PortalRpcError to extend it for backward compatibility.

Inheritors

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
Link copied to clipboard
open override val message: String