UnsupportedTemplateFormat

data class UnsupportedTemplateFormat(val message: String?, val status: Int = HTTP_UNSUPPORTED_MEDIA, val code: String? = null) : KarboneError.Api

HTTP 415: Carbone cannot process the template's file format.

Constructors

Link copied to clipboard
constructor(message: String?, status: Int = HTTP_UNSUPPORTED_MEDIA, code: String? = null)

Properties

Link copied to clipboard
open override val code: String?

Carbone error code when provided, e.g. w117.

Link copied to clipboard
open override val message: String?

Raw error text from the Carbone response, if any, never rewritten.

Link copied to clipboard
open override val status: Int

HTTP status returned by Carbone.

Functions

Link copied to clipboard
open override fun describe(): String

Human-readable summary of this error, used as the message of KarboneException.