diff options
| author | Jeroen Wijenbergh <jeroen.wijenbergh@geant.org> | 2026-02-12 12:34:08 +0100 |
|---|---|---|
| committer | Jeroen Wijenbergh <jeroen.wijenbergh@geant.org> | 2026-02-12 12:59:03 +0100 |
| commit | a30ef6b27e578a4cf0a674b24f5b52b4c1516c63 (patch) | |
| tree | 27c7321cbceac2a487c1ba17151711de3d438a53 /i18n | |
| parent | b00ce8214479c50e137db73c77b0cc1393c5e7d4 (diff) | |
All: Rename packages that sound useless or clash with std
Diffstat (limited to 'i18n')
| -rw-r--r-- | i18n/err/i18nerr.go | 4 |
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 |
