summaryrefslogtreecommitdiff
path: root/i18n/err/i18nerr.go
diff options
context:
space:
mode:
authorJeroen Wijenbergh <jeroen.wijenbergh@geant.org>2026-02-12 12:34:08 +0100
committerJeroen Wijenbergh <jeroen.wijenbergh@geant.org>2026-02-12 12:59:03 +0100
commita30ef6b27e578a4cf0a674b24f5b52b4c1516c63 (patch)
tree27c7321cbceac2a487c1ba17151711de3d438a53 /i18n/err/i18nerr.go
parentb00ce8214479c50e137db73c77b0cc1393c5e7d4 (diff)
All: Rename packages that sound useless or clash with std
Diffstat (limited to 'i18n/err/i18nerr.go')
-rw-r--r--i18n/err/i18nerr.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/i18n/err/i18nerr.go b/i18n/err/i18nerr.go
index 8254dd4..1c97462 100644
--- a/i18n/err/i18nerr.go
+++ b/i18n/err/i18nerr.go
@@ -8,7 +8,7 @@ import (
"log/slog"
"sync"
- "codeberg.org/eduVPN/eduvpn-common/internal/http"
+ "codeberg.org/eduVPN/eduvpn-common/internal/httpwrap"
"golang.org/x/text/language"
"golang.org/x/text/message"
@@ -26,7 +26,7 @@ func TranslatedInner(inner error) (string, bool) {
unwrapped = errors.Unwrap(unwrapped)
}
- var tErr *http.TimeoutError
+ var tErr *httpwrap.TimeoutError
switch {
case errors.As(inner, &tErr):
return printerOrNew(language.English).Sprintf("Timeout reached contacting URL: '%s'", tErr.URL), false