MissingToken

@Serializable
data class MissingToken(val message: String = "Missing authentication token", val status: Int = 401) : AuthIssue

Constructors

Link copied to clipboard
constructor(message: String = "Missing authentication token", status: Int = 401)

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.