From b91c32d990c198a7c9499545a9a578372eb07235 Mon Sep 17 00:00:00 2001 From: Aykhan Shahsuvarov Date: Thu, 29 Aug 2024 23:54:07 +0400 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Add=20ErrTimeout=20to=20custom=5Fer?= =?UTF-8?q?rors=20package?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- custom_errors/errors.go | 1 + 1 file changed, 1 insertion(+) 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 {