Issue

@Serializable
abstract class Issue

A base class for all API issues. Shared between client and server for type-safe error handling.

See also

Inheritors

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
abstract val message: String

The error message.

Link copied to clipboard
abstract val status: Int

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