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:
parent
6f72add44a
commit
df8bd3be10
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user