diff --git a/internal/errors.go b/internal/errors.go index 8f15bd2f..c16ca1c9 100644 --- a/internal/errors.go +++ b/internal/errors.go @@ -19,8 +19,7 @@ var ( ErrAlreadyLoggedIn = errors.New("you are already logged in") // ErrNotLoggedIn is returned when the caller is expected to be logged in // but is not - ErrNotLoggedIn = errors.New("you are not logged in") - // TODO: Update message - ErrMonitorFailed = errors.New("monitor failed") + ErrNotLoggedIn = errors.New("you are not logged in") ErrVirtualServerSelected = errors.New(SpecifiedServerIsVirtualLocation) + ErrMonitorFailed = errors.New(MonitorFailed) ) diff --git a/internal/message.go b/internal/message.go index 1a1dfd30..46e8d111 100644 --- a/internal/message.go +++ b/internal/message.go @@ -30,4 +30,8 @@ const ( // Error message when the server is a virtual location, but user has virtual-location off SpecifiedServerIsVirtualLocation = "Please enable virtual location access to connect to this server." + + // MonitorFailed is an error message for error returned when + // nordfileshare process monitor fails to start during enabling meshnet + MonitorFailed = "We encountered an issue activating Meshnet because one of our safety feature did not initialize correctly." )