aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/service/errors.go
diff options
context:
space:
mode:
Diffstat (limited to 'service/errors.go')
-rw-r--r--service/errors.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/service/errors.go b/service/errors.go
index 339b61b3..b76ef656 100644
--- a/service/errors.go
+++ b/service/errors.go
@@ -30,6 +30,7 @@ const (
ErrorOpenNULFile
ErrorTrackTunnels
ErrorEnumerateSessions
+ ErrorDropPrivileges
ErrorWin32
)
@@ -65,6 +66,8 @@ func (e Error) Error() string {
return "Unable to track existing tunnels"
case ErrorEnumerateSessions:
return "Unable to enumerate current sessions"
+ case ErrorDropPrivileges:
+ return "Unable to drop privileges"
case ErrorWin32:
return "An internal Windows error has occurred"
default: