ProblemDetailsMessage

@Serializable
class ProblemDetailsMessage(val status: Int, val fields: Set<@Serializable(with = ConstraintViolationSerializer::class) ConstraintViolation>)

Constructors

Link copied to clipboard
constructor(status: Int, fields: Set<@Serializable(with = ConstraintViolationSerializer::class) ConstraintViolation>)

Properties

Link copied to clipboard

A human-readable explanation specific to this occurrence of the problem.

Link copied to clipboard

Fields that failed validation, with their error message.

Link copied to clipboard
val status: Int

A JSON number indicating the HTTP status code generated by the origin server for this occurrence of the problem.

Link copied to clipboard

A short, human-readable summary of the problem type.

Link copied to clipboard

A URI reference that identifies the problem type.