ErrorResponse

@JsonClass(generateAdapter = true)
data class ErrorResponse(val message: String, val errors: Map<String, List<String>>?)

Data class representing an ErrorResponse.

Constructors

Link copied to clipboard
constructor(message: String, errors: Map<String, List<String>>?)

Properties

Link copied to clipboard

A descriptive string representation of the error response.

Link copied to clipboard

An optional map containing lists of error messages, keyed by error types or categories.

Link copied to clipboard

The error message associated with the response.