Sends an errors response to client using specified status code
and message. After this method is called response is considered committed
and should be written to.
| Parameters |
code -
HTTP error response code
message -
Optional message, if not given, default
messages are used.
|
| Throws |
IOError -
If an IO error occurs
|