Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNotFound = New(404, "NotFound", "not found") ErrForbidden = New(403, "Forbidden", "forbidden") )
定义错误
Functions ¶
func ErrorHandler ¶
func ErrorHandler(err error, c echo.Context)
ErrorHandler customize echo's HTTP error handler.
func RegisterErrorFunc ¶
func RegisterErrorFunc(f ErrorFunc)
Types ¶
Click to show internal directories.
Click to hide internal directories.