1
0
mirror of https://github.com/labstack/echo.git synced 2024-12-24 20:14:31 +02:00

Updated docs

Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
Vishal Rana 2015-05-06 16:11:21 -07:00
parent 6f72add44a
commit df8bd3be10

View File

@ -258,8 +258,7 @@ func welcome(c *echo.Context) *echo.HTTPError {
} }
``` ```
`echo.HTTPError` has status code, message and error fields. Internally it uses See how [HTTPErrorHandler](#customization) handles it.
`http.Error` to send HTTP response with status code and message.
## Deployment ## Deployment