NotFound

@Serializable
data class NotFound(val message: String = "User not found", val status: Int = 404) : UserIssue

Constructors

Link copied to clipboard
constructor(message: String = "User not found", status: Int = 404)

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.