DappException
class DappException(val errorCode: DappErrorCode, message: String, val data: JsonElement? = null, cause: Throwable? = null) : RuntimeException
A CIP-0103 error, thrown by DappClient when the wallet returns one and by the wallet-side engine to produce one.
data carries the optional JSON-RPC error.data unchanged, so a caller can surface a participant traceId without this SDK having to model every shape a wallet might attach.
Constructors
Link copied to clipboard
constructor(errorCode: DappErrorCode, message: String, data: JsonElement? = null, cause: Throwable? = null)