APIExceptionProxy

class APIExceptionProxy<EX : Throwable, B>(val status: HttpStatusCode, val exceptionClass: KClass<EX>, val example: B? = null, val contentType: KType = unitKType, val contentGen: (EX) -> B? = null) : APIException<EX, B> (source)

Constructors

Link copied to clipboard
constructor(status: HttpStatusCode, exceptionClass: KClass<EX>, example: B? = null, contentType: KType = unitKType, contentGen: (EX) -> B? = null)

Properties

Link copied to clipboard
open override val contentGen: (EX) -> B? = null
Link copied to clipboard
open override val contentType: KType
Link copied to clipboard
open override val example: B? = null
Link copied to clipboard
open override val exceptionClass: KClass<EX>
Link copied to clipboard
open override val status: HttpStatusCode