NakamaError
public enum NakamaError: Error
An error that has occured on the server. The error could be result of bad input, or unexpected system error. Check Error Code for more info.
-
Undocumented
Declaration
Swift
public static let Domain = "Nakama"
-
Message associated with the error
Declaration
Swift
public var message : String
-
An unknown error.
Declaration
Swift
case unknown
-
An unexpected error that is unrecoverable.
Declaration
Swift
case runtimeException(String)
-
Server received a message that is not recognized.
Declaration
Swift
case unrecognizedPayload(String)
-
Server received an Envelop message but the internal message is unrecognised. Most likely a protocol mismatch.
Declaration
Swift
case missingPayload(String)
-
The message did not include the required data in the correct format.
Declaration
Swift
case badInput(String)
-
Authentication failure.
Declaration
Swift
case authError(String)
-
Login failed because ID/device/email did not exist.
Declaration
Swift
case userNotFound(String)
-
Registration failed because ID/device/email exists.
Declaration
Swift
case userRegisterInuse(String)
-
Linking operation failed because link exists.
Declaration
Swift
case userLinkInuse(String)
-
Linking operation failed because third-party service was unreachable.
Declaration
Swift
case userLinkProviderUnavailable(String)
-
Unlinking operation failed because you cannot unlink last ID.
Declaration
Swift
case userUnlinkDisallowed(String)
-
Handle is in-use by another user.
Declaration
Swift
case userHandleInuse(String)
-
Group names must be unique and it’s already in use.
Declaration
Swift
case groupNameInuse(String)
-
Group leave operation not allowed because the user is the last admin.
Declaration
Swift
case groupLastAdmin(String)
-
Storage write operation failed.
Declaration
Swift
case storageRejected(String)
-
Match with given ID was not found in the system.
Declaration
Swift
case matchNotFound(String)
-
Runtime function name was not found in system registry.
Declaration
Swift
case runtimeFunctionNotFound(String)
-
Runtime function caused an internal server error and did not complete.
Declaration
Swift
case runtimeFunctionException(String)