aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack <66967891+ASpoonPlaysGames@users.noreply.github.com>2023-09-14 18:30:00 +0100
committerGitHub <noreply@github.com>2023-09-14 13:30:00 -0400
commit33b11addca1bdf78ca9dae08dbf80bdcc66a19f0 (patch)
tree0381aefcb2ec8b3fe496870847c37b6b1c104dbd
parentf6fbcf6fce906a78520364a1a491b68d14190fc3 (diff)
downloadAtlas-33b11addca1bdf78ca9dae08dbf80bdcc66a19f0.tar.gz
Atlas-33b11addca1bdf78ca9dae08dbf80bdcc66a19f0.zip
pkg/api/api0: Improve UNSUPPORTED_VERSION error message
-rw-r--r--pkg/api/api0/errors.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/api/api0/errors.go b/pkg/api/api0/errors.go
index d424d33..b473619 100644
--- a/pkg/api/api0/errors.go
+++ b/pkg/api/api0/errors.go
@@ -20,7 +20,7 @@ const (
ErrorCode_GAMESERVER_NOT_FOUND ErrorCode = "GAMESERVER_NOT_FOUND" // Couldn't find game server
ErrorCode_INVALID_MASTERSERVER_TOKEN ErrorCode = "INVALID_MASTERSERVER_TOKEN" // Invalid or expired masterserver token
ErrorCode_JSON_PARSE_ERROR ErrorCode = "JSON_PARSE_ERROR" // Error parsing json response
- ErrorCode_UNSUPPORTED_VERSION ErrorCode = "UNSUPPORTED_VERSION" // The version you are using is no longer supported
+ ErrorCode_UNSUPPORTED_VERSION ErrorCode = "UNSUPPORTED_VERSION" // The version you are using is no longer supported; update Northstar to continue
ErrorCode_DUPLICATE_SERVER ErrorCode = "DUPLICATE_SERVER" // A server with this port already exists for your IP address
ErrorCode_CONNECTION_REJECTED ErrorCode = "CONNECTION_REJECTED" // Connection rejected
)
@@ -85,7 +85,7 @@ func (n ErrorCode) Message() string {
case ErrorCode_JSON_PARSE_ERROR:
return "Error parsing json response"
case ErrorCode_UNSUPPORTED_VERSION:
- return "The version you are using is no longer supported"
+ return "The version you are using is no longer supported; update Northstar to continue"
case ErrorCode_DUPLICATE_SERVER:
return "A server with this port already exists for your IP address"
case ErrorCode_INTERNAL_SERVER_ERROR: