Specifies an erroneous response for a completions request.
open infix fun <T : Any> respondsError(block: suspend ResponseDefinitionBuilder<P, T>.() -> Unit)
Specifies an error response for a given request scenario. This allows defining the characteristics of an erroneous response, such as the HTTP status, response body, headers, delay, and more.