diff --git a/middleware/context_timeout.go b/middleware/context_timeout.go index e67173f21..02bd6d1b1 100644 --- a/middleware/context_timeout.go +++ b/middleware/context_timeout.go @@ -16,7 +16,7 @@ type ContextTimeoutConfig struct { // Skipper defines a function to skip middleware. Skipper Skipper - // ErrorHandler is a function when error aries in middleware execution. + // ErrorHandler is a function when error arises in middleware execution. ErrorHandler func(err error, c echo.Context) error // Timeout configures a timeout for the middleware, defaults to 0 for no timeout