Module: Lapis::Yggdrasil::ErrorCodes
- Defined in:
- lib/lapis/yggdrasil/error_codes.rb
Overview
Constants describing a type of error.
Constant Summary collapse
- METHOD_NOT_ALLOWED =
The method specified in the request is not allowed for the resource identified by the request URI. Something other than a ‘POST` request was received.
:method_not_allowed
- NOT_FOUND =
The server has not found anything matches the request URI. Non-existing endpoint was called.
:not_found
- ACCOUNT_MIGRATED =
Invalid credentials - account has migrated to Mojang account. Use e-mail as username.
:account_migrated
- INVALID_CREDENTIALS =
Invalid credentials - bad username or password.
:invalid_credentials
- TOO_MANY_ATTEMPTS =
Note:
Username and password may still be valid.
Invalid credentials - too many login attempts with this username recently.
:too_many_attempts
- INVALID_TOKEN =
Invalid token - provided access token is invalid.
:invalid_token
- PROFILE_NOT_SUPPORTED =
Access token already has a profile assigned. Selecting profiles isn’t implemented yet.
:profile_not_supported
- NO_CREDENTIALS =
Username and password was not provided.
:no_credentials
- UNSUPPORTED_MEDIA_TYPE =
The server received something other than a message body with JSON.
:unsupported_media_type