mirror of
https://github.com/labstack/echo.git
synced 2025-11-29 22:48:07 +02:00
Fix typo in ContextTimeout middleware comment
Change 'aries' to 'arises' in ErrorHandler comment. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user