SdkError

@Serializable
data class SdkError(val code: ErrorCode, val type: ErrorType = ErrorType.fromCode(code), val message: String, val debug: JsonObject? = null)

Constructors

Link copied to clipboard
constructor(code: ErrorCode, type: ErrorType = ErrorType.fromCode(code), message: String, debug: JsonObject? = null)

Properties

Link copied to clipboard
Link copied to clipboard
val debug: JsonObject? = null
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun toMap(): Map<String, Any?>