CRUDError

constructor(status: HttpStatus, message: String)(source)

Constructor to create a CRUDError with given data

Parameters

status

HttpStatus to use for the response this error should produce

message

Error message describing what went wrong


constructor(code: Int, message: String, type: String)(source)