Skip to content

Commit

Permalink
Ignore gochecknoglobals only in case ErrTimeout variable
Browse files Browse the repository at this point in the history
  • Loading branch information
osamingo committed May 2, 2023
1 parent 474fe7a commit 90830e1
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 @@ -21,5 +21,5 @@ var (
// ErrInternalServerError is an error value that will be returned when some error occurs in the kenall service.
ErrInternalServerError = errors.New("kenall: 500 internal server error")
// ErrTimeout is an error value that will be returned when the request is timeout.
ErrTimeout = func(err error) error { return fmt.Errorf("kenall: request timeout: %w", err) }
ErrTimeout = func(err error) error { return fmt.Errorf("kenall: request timeout: %w", err) } //nolint: gochecknoglobals
)

0 comments on commit 90830e1

Please sign in to comment.