diff --git a/custom_errors/errors.go b/custom_errors/errors.go index 890d5a2..301efa2 100644 --- a/custom_errors/errors.go +++ b/custom_errors/errors.go @@ -12,6 +12,7 @@ var ( ErrInvalidFile = errors.New("invalid file") ErrInterrupt = errors.New("interrupted") ErrNoInternet = errors.New("no internet connection") + ErrTimeout = errors.New("timeout") ) func As(err error, target any) bool {