case classErrorRes(errorBody: HTTPBody) extends Res[Nothing] with Product with Serializable
Signals the webmachine flow the desire to halt with a 500 Internal Server Error
response code with a given response body. Returning an ErrorRes
will always stop the flow runner after the current decision has been completed
errorBody
- body to be set in response
Linear Supertypes
Serializable, Serializable, Product, Equals, Res[Nothing], AnyRef, Any
Signals the webmachine flow the desire to halt with a
500 Internal Server Error
response code with a given response body. Returning anErrorRes
will always stop the flow runner after the current decision has been completed- body to be set in response