Error

@Serializable
data class Error(val timestamp: Timestamp, val status: Int, val error: String, val trace: String? = null, val message: String, val path: String)

Representation of a REST error.

Constructors

Link copied to clipboard
constructor(timestamp: Timestamp, status: Int, error: String, trace: String? = null, message: String, path: String)

Properties

Link copied to clipboard

The HTTP status code message

Link copied to clipboard

The error message

Link copied to clipboard

The request path

Link copied to clipboard
val status: Int

the HttpStatusCode

Link copied to clipboard

the timestamp of the error in milliseconds since the epoch

Link copied to clipboard
val trace: String? = null

The stack trace of the error when trace=true as query param has been sent