JmapException

class JmapException(message: String, val type: String? = null, val httpStatus: Int? = null, cause: Throwable? = null) : MailException(source)

A JMAP failure. type is the JMAP error type, e.g. forbiddenFrom or urn:ietf:params:jmap:error:limit.

Constructors

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

Properties

Link copied to clipboard

The HTTP status code, if the request itself failed.

Link copied to clipboard
val type: String?