Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
survivorbat committed Nov 25, 2024
1 parent db8fb93 commit 1592352
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ type ErrorRegistry struct {
// handlers maps error types with their handlers
handlers map[error]*errorHandler

// defaultHandler
// defaultHandler is called if no matching error was registered
defaultHandler func(ctx context.Context, err error) (int, any)
}

Expand Down

0 comments on commit 1592352

Please sign in to comment.