respondsError
fun respondsError(status: HttpStatusCode = HttpStatusCode.InternalServerError, description: String = "Error response")(source)
Declares an error response with the given status code.
Parameters
status
HTTP status code for the error
description
Human-readable description of the error response