InternalIssue

@Serializable
data class InternalIssue(val message: String = "Internal Server Error", val status: Int = 500) : Issue

Common issue for internal server errors.

Constructors

Link copied to clipboard
constructor(message: String = "Internal Server Error", status: Int = 500)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val message: String

The error message.

Link copied to clipboard
open override val status: Int

The HTTP status code. Should be something supported by http4k.