BadRequestIssue

@Serializable
data class BadRequestIssue(val message: String = "Bad Request", val status: Int = 400) : Issue

Common issue for validation or bad request errors.

Constructors

Link copied to clipboard
constructor(message: String = "Bad Request", status: Int = 400)

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.