mirror of
https://github.com/labstack/echo.git
synced 2026-05-16 09:48:24 +02:00
Update httperror.go
This commit is contained in:
+1
-1
@@ -129,7 +129,7 @@ func (he *HTTPError) Error() string {
|
||||
}
|
||||
|
||||
// Wrap returns a new HTTPError with given errors wrapped inside
|
||||
func (he *HTTPError) Wrap(err error) error {
|
||||
func (he HTTPError) Wrap(err error) error {
|
||||
return &HTTPError{
|
||||
Code: he.Code,
|
||||
Message: he.Message,
|
||||
|
||||
Reference in New Issue
Block a user