1
0
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:
tison
2026-05-02 01:51:23 +08:00
committed by GitHub
parent 86d0223c7a
commit b12f646a74
+1 -1
View File
@@ -129,7 +129,7 @@ func (he *HTTPError) Error() string {
} }
// Wrap returns a new HTTPError with given errors wrapped inside // 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{ return &HTTPError{
Code: he.Code, Code: he.Code,
Message: he.Message, Message: he.Message,