all: Unused errors

This commit is contained in:
Jakob Borg
2022-07-28 19:08:51 +02:00
parent 212258d213
commit dde275c6cc
3 changed files with 2 additions and 2 deletions
-1
View File
@@ -56,7 +56,6 @@ var (
// These are specific explanations for errUnsupported.
errDisabled = fmt.Errorf("%w: disabled by configuration", errUnsupported)
errDeprecated = fmt.Errorf("%w: deprecated", errUnsupported)
errNotInBuild = fmt.Errorf("%w: disabled at build time", errUnsupported)
// Various reasons to reject a connection
errNetworkNotAllowed = errors.New("network not allowed")