Exceptions

API_ERR_CHAT_VVCHAT_NO_MORE_REPUTATIONS

Bases: Exception

  • API Code : 1627
  • API Message : Unknown Message
  • API String : API_ERR_CHAT_VVCHAT_NO_MORE_REPUTATIONS
Source code in aminofixfix/lib/exceptions.py
class API_ERR_CHAT_VVCHAT_NO_MORE_REPUTATIONS(Exception):
    """
    - **API Code** : 1627
    - **API Message** : ``Unknown Message``
    - **API String** : API_ERR_CHAT_VVCHAT_NO_MORE_REPUTATIONS
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

API_ERR_COMMUNITY_USER_CREATED_COMMUNITIES_VERIFY

Bases: Exception

  • API Code : 257
  • API Message : Unknown Message
  • API String : API_ERR_COMMUNITY_USER_CREATED_COMMUNITIES_VERIFY
Source code in aminofixfix/lib/exceptions.py
class API_ERR_COMMUNITY_USER_CREATED_COMMUNITIES_VERIFY(Exception):
    """
    - **API Code** : 257
    - **API Message** : ``Unknown Message``
    - **API String** : API_ERR_COMMUNITY_USER_CREATED_COMMUNITIES_VERIFY
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

API_ERR_EMAIL_NO_PASSWORD

Bases: Exception

  • API Code : 251
  • API Message : Unknown Message
  • API String : API_ERR_EMAIL_NO_PASSWORD
Source code in aminofixfix/lib/exceptions.py
class API_ERR_EMAIL_NO_PASSWORD(Exception):
    """
    - **API Code** : 251
    - **API Message** : ``Unknown Message``
    - **API String** : API_ERR_EMAIL_NO_PASSWORD
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

Bases: Exception

  • API Code : 271
  • API Message : Unknown Message
  • API String : API_ERR_INVALID_AUTH_NEW_DEVICE_LINK
Source code in aminofixfix/lib/exceptions.py
class API_ERR_INVALID_AUTH_NEW_DEVICE_LINK(Exception):
    """
    - **API Code** : 271
    - **API Message** : ``Unknown Message``
    - **API String** : API_ERR_INVALID_AUTH_NEW_DEVICE_LINK
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

API_ERR_PUSH_SERVER_LIMITATION_APART

Bases: Exception

  • API Code : 2501
  • API Message : Unknown Message
  • API String : API_ERR_PUSH_SERVER_LIMITATION_APART
Source code in aminofixfix/lib/exceptions.py
class API_ERR_PUSH_SERVER_LIMITATION_APART(Exception):
    """
    - **API Code** : 2501
    - **API Message** : ``Unknown Message``
    - **API String** : API_ERR_PUSH_SERVER_LIMITATION_APART
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

API_ERR_PUSH_SERVER_LIMITATION_COUNT

Bases: Exception

  • API Code : 2502
  • API Message : Unknown Message
  • API String : API_ERR_PUSH_SERVER_LIMITATION_COUNT
Source code in aminofixfix/lib/exceptions.py
class API_ERR_PUSH_SERVER_LIMITATION_COUNT(Exception):
    """
    - **API Code** : 2502
    - **API Message** : ``Unknown Message``
    - **API String** : API_ERR_PUSH_SERVER_LIMITATION_COUNT
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

API_ERR_PUSH_SERVER_LIMITATION_TIME

Bases: Exception

  • API Code : 2504
  • API Message : Unknown Message
  • API String : API_ERR_PUSH_SERVER_LIMITATION_TIME
Source code in aminofixfix/lib/exceptions.py
class API_ERR_PUSH_SERVER_LIMITATION_TIME(Exception):
    """
    - **API Code** : 2504
    - **API Message** : ``Unknown Message``
    - **API String** : API_ERR_PUSH_SERVER_LIMITATION_TIME
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

Bases: Exception

  • API Code : 2503
  • API Message : Unknown Message
  • API String : API_ERR_PUSH_SERVER_LINK_NOT_IN_COMMUNITY
Source code in aminofixfix/lib/exceptions.py
class API_ERR_PUSH_SERVER_LINK_NOT_IN_COMMUNITY(Exception):
    """
    - **API Code** : 2503
    - **API Message** : ``Unknown Message``
    - **API String** : API_ERR_PUSH_SERVER_LINK_NOT_IN_COMMUNITY
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

AccessDenied

Bases: Exception

  • API Code : 106
  • API Message : Access denied.
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class AccessDenied(Exception):
    """
    - **API Code** : 106
    - **API Message** : Access denied.
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

AccountAlreadyRestored

Bases: Exception

  • API Code : 2800
  • API Message : Account already restored.
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class AccountAlreadyRestored(Exception):
    """
    - **API Code** : 2800
    - **API Message** : Account already restored.
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

AccountDeleted

Bases: Exception

  • API Code : 246
  • API Message : Unknown Message
  • API String : AUTH_RECOVERABLE_DELETED_ACCOUNT
Source code in aminofixfix/lib/exceptions.py
class AccountDeleted(Exception):
    """
    - **API Code** : 246
    - **API Message** : ``Unknown Message``
    - **API String** : AUTH_RECOVERABLE_DELETED_ACCOUNT
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

AccountDisabled

Bases: Exception

  • API Code : 210
  • API Message : This account is disabled.
  • API String : AUTH_DISABLED_ACCOUNT
Source code in aminofixfix/lib/exceptions.py
class AccountDisabled(Exception):
    """
    - **API Code** : 210
    - **API Message** : This account is disabled.
    - **API String** : AUTH_DISABLED_ACCOUNT
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

AccountDoesntExist

Bases: Exception

  • API Code : 216
  • API Message : Unknown Message
  • API String : AUTH_ACCOUNT_NOT_EXISTS
Source code in aminofixfix/lib/exceptions.py
class AccountDoesntExist(Exception):
    """
    - **API Code** : 216
    - **API Message** : ``Unknown Message``
    - **API String** : AUTH_ACCOUNT_NOT_EXISTS
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

AccountLimitReached

Bases: Exception

  • API Code : 219
  • API Message : A maximum of 3 accounts can be created from this device. If you forget your password, please reset it.
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class AccountLimitReached(Exception):
    """
    - **API Code** : 219
    - **API Message** : A maximum of 3 accounts can be created from this device. If you forget your password, please reset it.
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

ActionNotAllowed

Bases: Exception

  • API Code : 110
  • API Message : Action not allowed.
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class ActionNotAllowed(Exception):
    """
    - **API Code** : 110
    - **API Message** : Action not allowed.
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

ActivateAccount

Bases: Exception

  • API Code : 238
  • API Message : Please activate your account first. Check your email, including your spam folder.
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class ActivateAccount(Exception):
    """
    - **API Code** : 238
    - **API Message** : Please activate your account first. Check your email, including your spam folder.
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

AgeTooLow

Bases: Exception

Raised when you try to configure an account but the age is too low. Minimum is 13.

Source code in aminofixfix/lib/exceptions.py
class AgeTooLow(Exception):
    """
    Raised when you try to configure an account but the age is too low. Minimum is 13.
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

AlreadyCheckedIn

Bases: Exception

  • API Code : 2601
  • API Message : Sorry, you can't check in any more.
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class AlreadyCheckedIn(Exception):
    """
    - **API Code** : 2601
    - **API Message** : Sorry, you can't check in any more.
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

AlreadyPlayedLottery

Bases: Exception

  • API Code : 4400
  • API Message : You have played the maximum number of lucky draws.
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class AlreadyPlayedLottery(Exception):
    """
    - **API Code** : 4400
    - **API Message** : You have played the maximum number of lucky draws.
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

AlreadyRequestedJoinCommunity

Bases: Exception

  • API Code : 2001
  • API Message : Sorry, you have already submitted a membership request.
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class AlreadyRequestedJoinCommunity(Exception):
    """
    - **API Code** : 2001
    - **API Message** : Sorry, you have already submitted a membership request.
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

AlreadyUsedMonthlyRepair

Bases: Exception

  • API Code : 2611
  • API Message : Unknown Message
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class AlreadyUsedMonthlyRepair(Exception):
    """
    - **API Code** : 2611
    - **API Message** : ``Unknown Message``
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

AminoIDAlreadyChanged

Bases: Exception

  • API Code : 6001
  • API Message : Amino ID cannot be changed after you set it.
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class AminoIDAlreadyChanged(Exception):
    """
    - **API Code** : 6001
    - **API Message** : Amino ID cannot be changed after you set it.
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

BadImage

Bases: Exception

  • API Code : 300
  • API Message : Unknown Message
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class BadImage(Exception):
    """
    - **API Code** : 300
    - **API Message** : ``Unknown Message``
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

CannotFetchImage

Bases: Exception

Raised when an image cannot be fetched.

Source code in aminofixfix/lib/exceptions.py
class CannotFetchImage(Exception):
    """
    Raised when an image cannot be fetched.
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

CannotSendCoins

Bases: Exception

  • API Code : 4500, 4501
  • API Message : Unknown Message
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class CannotSendCoins(Exception):
    """
    - **API Code** : 4500, 4501
    - **API Message** : ``Unknown Message``
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

CantFollowYourself

Bases: Exception

  • API Code : 221
  • API Message : Unknown Message
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class CantFollowYourself(Exception):
    """
    - **API Code** : 221
    - **API Message** : ``Unknown Message``
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

CantLeaveCommunity

Bases: Exception

  • API Code : 239
  • API Message : Sorry, you can not do this before transferring your Agent status to another member.
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class CantLeaveCommunity(Exception):
    """
    - **API Code** : 239
    - **API Message** : Sorry, you can not do this before transferring your Agent status to another member.
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

ChatFull

Bases: Exception

  • API Code : 1605
  • API Message : Unknown Message
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class ChatFull(Exception):
    """
    - **API Code** : 1605
    - **API Message** : ``Unknown Message``
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

ChatInvitesDisabled

Bases: Exception

  • API Code : 1611
  • API Message : This user has disabled chat invite requests.
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class ChatInvitesDisabled(Exception):
    """
    - **API Code** : 1611
    - **API Message** : This user has disabled chat invite requests.
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

ChatMessageTooBig

Bases: Exception

  • API Code : 1664
  • API Message : Unknown Message
  • API String : API_ERR_CHAT_MESSAGE_CONTENT_TOO_LONG
Source code in aminofixfix/lib/exceptions.py
class ChatMessageTooBig(Exception):
    """
    - **API Code** : 1664
    - **API Message** : ``Unknown Message``
    - **API String** : API_ERR_CHAT_MESSAGE_CONTENT_TOO_LONG
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

ChatRequestsBlocked

Bases: Exception

Raised when you try to make an action but the end user has chat requests blocked.

Source code in aminofixfix/lib/exceptions.py
class ChatRequestsBlocked(Exception):
    """
    Raised when you try to make an action but the end user has chat requests blocked.
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

ChatViewOnly

Bases: Exception

  • API Code : 1663
  • API Message : Unknown Message
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class ChatViewOnly(Exception):
    """
    - **API Code** : 1663
    - **API Message** : ``Unknown Message``
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

CommandCooldown

Bases: Exception

  • API Code : 291
  • API Message : Whoa there! You've done too much too quickly. Take a break and try again later.
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class CommandCooldown(Exception):
    """
    - **API Code** : 291
    - **API Message** : Whoa there! You've done too much too quickly. Take a break and try again later.
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

CommunityCreateLimitReached

Bases: Exception

  • API Code : 806
  • API Message : Unknown Message
  • API String : API_ERR_COMMUNITY_USER_CREATED_COMMUNITIES_EXCEED_QUOTA
Source code in aminofixfix/lib/exceptions.py
class CommunityCreateLimitReached(Exception):
    """
    - **API Code** : 806
    - **API Message** : ``Unknown Message``
    - **API String** : API_ERR_COMMUNITY_USER_CREATED_COMMUNITIES_EXCEED_QUOTA
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

CommunityDeleted

Bases: Exception

  • API Code : 833
  • API Message : This Community has been deleted.
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class CommunityDeleted(Exception):
    """
    - **API Code** : 833
    - **API Message** : This Community has been deleted.
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

CommunityDisabled

Bases: Exception

  • API Code : 814
  • API Message : This Community is disabled.
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class CommunityDisabled(Exception):
    """
    - **API Code** : 814
    - **API Message** : This Community is disabled.
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

CommunityNameAlreadyTaken

Bases: Exception

  • API Code : 805
  • API Message : Unknown Message
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class CommunityNameAlreadyTaken(Exception):
    """
    - **API Code** : 805
    - **API Message** : ``Unknown Message``
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

CommunityNeeded

Bases: Exception

Raised when you try to execute an command but a Community needs to be specified.

Source code in aminofixfix/lib/exceptions.py
class CommunityNeeded(Exception):
    """
    Raised when you try to execute an command but a Community needs to be specified.
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

CommunityNoLongerExists

Bases: Exception

  • API Code : 801
  • API Message : This Community no longer exists.
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class CommunityNoLongerExists(Exception):
    """
    - **API Code** : 801
    - **API Message** : This Community no longer exists.
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

CommunityNotFound

Bases: Exception

Raised when you search for a community but nothing is found.

Source code in aminofixfix/lib/exceptions.py
class CommunityNotFound(Exception):
    """
    Raised when you search for a community but nothing is found.
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

DuplicatePollOption

Bases: Exception

  • API Code : 1501
  • API Message : Sorry, you have duplicate poll options.
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class DuplicatePollOption(Exception):
    """
    - **API Code** : 1501
    - **API Message** : Sorry, you have duplicate poll options.
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

EmailAlreadyTaken

Bases: Exception

  • API Code : 215
  • API Message : Hey this email X has been registered already. You can try to log in with the email or edit the email.
  • API String : API_ERR_EMAIL_TAKEN
Source code in aminofixfix/lib/exceptions.py
class EmailAlreadyTaken(Exception):
    """
    - **API Code** : 215
    - **API Message** : Hey this email ``X`` has been registered already. You can try to log in with the email or edit the email.
    - **API String** : API_ERR_EMAIL_TAKEN
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

FailedLogin

Bases: Exception

Raised when you try to login but it fails.

Source code in aminofixfix/lib/exceptions.py
class FailedLogin(Exception):
    """
    Raised when you try to login but it fails.
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

FailedSubscribeFanClub

Bases: Exception

  • API Code : 4805
  • API Message : Failed to subscribe to this fan club.
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class FailedSubscribeFanClub(Exception):
    """
    - **API Code** : 4805
    - **API Message** : Failed to subscribe to this fan club.
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

FileTooLarge

Bases: Exception

  • API Code : 102
  • API Message : Unknown Message
  • API String : API_STD_ERR_ENTITY_TOO_LARGE_RAW
Source code in aminofixfix/lib/exceptions.py
class FileTooLarge(Exception):
    """
    - **API Code** : 102
    - **API Message** : ``Unknown Message``
    - **API String** : API_STD_ERR_ENTITY_TOO_LARGE_RAW
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

FlagTypeNeeded

Bases: Exception

Raised when you try to flag a community, blog or user but a Flag Type needs to be specified.

Source code in aminofixfix/lib/exceptions.py
class FlagTypeNeeded(Exception):
    """
    Raised when you try to flag a community, blog or user but a Flag Type needs to be specified.
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

IncorrectVerificationCode

Bases: Exception

  • API Code : 3102
  • API Message : Incorrect verification code.
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class IncorrectVerificationCode(Exception):
    """
    - **API Code** : 3102
    - **API Message** : Incorrect verification code.
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

InsufficientLevel

Bases: Exception

  • API Code : 551
  • API Message : This post type is restricted to members with a level X ranking and above.
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class InsufficientLevel(Exception):
    """
    - **API Code** : 551
    - **API Message** : This post type is restricted to members with a level ``X`` ranking and above.
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

InternalServerError

Bases: Exception

  • API Code : 500
  • API Message : 500 Internal Server Error
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class InternalServerError(Exception):
    """
    - **API Code** : 500
    - **API Message** : 500 Internal Server Error
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

InvalidAccountOrPassword

Bases: Exception

  • API Code : 200
  • API Message : Unknown Message
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class InvalidAccountOrPassword(Exception):
    """
    - **API Code** : 200
    - **API Message** : ``Unknown Message``
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

InvalidAminoID

Bases: Exception

  • API Code : 6002
  • API Message : Invalid Amino ID
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class InvalidAminoID(Exception):
    """
    - **API Code** : 6002
    - **API Message** : Invalid Amino ID
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

Bases: Exception

  • API Code : 802
  • API Message : Sorry, this code or link is invalid.
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class InvalidCodeOrLink(Exception):
    """
    - **API Code** : 802
    - **API Message** : Sorry, this code or link is invalid.
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

InvalidDevice

Bases: Exception

  • API Code : 218
  • API Message : Error! Your device is currently not supported, or the app is out of date. Please update to the latest version.
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class InvalidDevice(Exception):
    """
    - **API Code** : 218
    - **API Message** : Error! Your device is currently not supported, or the app is out of date. Please update to the latest version.
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

InvalidEmail

Bases: Exception

  • API Code : 213
  • API Message : Invalid email address.
  • API String : API_ERR_EMAIL
Source code in aminofixfix/lib/exceptions.py
class InvalidEmail(Exception):
    """
    - **API Code** : 213
    - **API Message** : Invalid email address.
    - **API String** : API_ERR_EMAIL
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

InvalidName

Bases: Exception

  • API Code : 99001
  • API Message : Sorry, the name is invalid.
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class InvalidName(Exception):
    """
    - **API Code** : 99001
    - **API Message** : Sorry, the name is invalid.
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

InvalidPassword

Bases: Exception

  • API Code : 214
  • API Message : Invalid password. Password must be 6 characters or more and contain no spaces.
  • API String : API_ERR_PASSWORD
Source code in aminofixfix/lib/exceptions.py
class InvalidPassword(Exception):
    """
    - **API Code** : 214
    - **API Message** : Invalid password. Password must be 6 characters or more and contain no spaces.
    - **API String** : API_ERR_PASSWORD
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

InvalidRequest

Bases: Exception

  • API Code : 103, 104
  • API Message : Invalid Request. Please update to the latest version. If the problem continues, please contact us.
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class InvalidRequest(Exception):
    """
    - **API Code** : 103, 104
    - **API Message** : Invalid Request. Please update to the latest version. If the problem continues, please contact us.
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

InvalidSession

Bases: Exception

  • API Code : 105
  • API Message : Unknown Message
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class InvalidSession(Exception):
    """
    - **API Code** : 105
    - **API Message** : ``Unknown Message``
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

InvalidThemepack

Bases: Exception

  • API Code : 313
  • API Message : Unknown Message
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class InvalidThemepack(Exception):
    """
    - **API Code** : 313
    - **API Message** : ``Unknown Message``
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

InvalidVoiceNote

Bases: Exception

  • API Code : 314
  • API Message : Unknown Message
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class InvalidVoiceNote(Exception):
    """
    - **API Code** : 314
    - **API Message** : ``Unknown Message``
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

InviteCodeNotFound

Bases: Exception

  • API Code : 1900
  • API Message : Sorry, the requested data no longer exists. Try refreshing the view.
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class InviteCodeNotFound(Exception):
    """
    - **API Code** : 1900
    - **API Message** : Sorry, the requested data no longer exists. Try refreshing the view.
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

IpTemporaryBan

Bases: Exception

  • API Code : 403
  • API Message : 403 Forbidden.
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class IpTemporaryBan(Exception):
    """
    - **API Code** : 403
    - **API Message** : 403 Forbidden.
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

LevelFiveRequiredToEnableProps

Bases: Exception

  • API Code : 1661
  • API Message : Unknown Message
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class LevelFiveRequiredToEnableProps(Exception):
    """
    - **API Code** : 1661
    - **API Message** : ``Unknown Message``
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

LibraryUpdateAvailable

Bases: Exception

Raised when a new library update is available.

Source code in aminofixfix/lib/exceptions.py
class LibraryUpdateAvailable(Exception):
    """
    Raised when a new library update is available.
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

MemberKickedByOrganizer

Bases: Exception

  • API Code : 1637
  • API Message : This member was previously kicked by the organizer and cannot be reinvited.
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class MemberKickedByOrganizer(Exception):
    """
    - **API Code** : 1637
    - **API Message** : This member was previously kicked by the organizer and cannot be reinvited.
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

MessageNeeded

Bases: Exception

  • API Code : 113
  • API Message : Be more specific, please.
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class MessageNeeded(Exception):
    """
    - **API Code** : 113
    - **API Message** : Be more specific, please.
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

NoChatThread

Bases: Exception

Raised when you try to make an action but no chat was selected.

Source code in aminofixfix/lib/exceptions.py
class NoChatThread(Exception):
    """
    Raised when you try to make an action but no chat was selected.
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

NoCommunity

Bases: Exception

Raised when you try to make an action but no community was selected.

Source code in aminofixfix/lib/exceptions.py
class NoCommunity(Exception):
    """
    Raised when you try to make an action but no community was selected.
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

NoImageSource

Bases: Exception

Raised when you try to make an action but no image source was selected.

Source code in aminofixfix/lib/exceptions.py
class NoImageSource(Exception):
    """
    Raised when you try to make an action but no image source was selected.
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

NotEnoughCoins

Bases: Exception

  • API Code : 4300
  • API Message : Unknown Message
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class NotEnoughCoins(Exception):
    """
    - **API Code** : 4300
    - **API Message** : ``Unknown Message``
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

NotFound

Bases: Exception

  • API Code : 404
  • API Message : 404 Not Found
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class NotFound(Exception):
    """
    - **API Code** : 404
    - **API Message** : 404 Not Found
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

NotLoggedIn

Bases: Exception

Raised when you try to make an action but you aren't logged in.

Source code in aminofixfix/lib/exceptions.py
class NotLoggedIn(Exception):
    """
    Raised when you try to make an action but you aren't logged in.
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

NotOwnerOfChatBubble

Bases: Exception

  • API Code : 3905
  • API Message : You are not the owner of this chat bubble.
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class NotOwnerOfChatBubble(Exception):
    """
    - **API Code** : 3905
    - **API Message** : You are not the owner of this chat bubble.
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

PageRepostedTooRecently

Bases: Exception

  • API Code : 503
  • API Message : Sorry, you have reported this page too recently.
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class PageRepostedTooRecently(Exception):
    """
    - **API Code** : 503
    - **API Message** : Sorry, you have reported this page too recently.
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

ReachedMaxPollOptions

Bases: Exception

  • API Code : 1507
  • API Message : Sorry, you can only join or add up to 5 of your items per poll.
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class ReachedMaxPollOptions(Exception):
    """
    - **API Code** : 1507
    - **API Message** : Sorry, you can only join or add up to 5 of your items per poll.
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

ReachedMaxTitles

Bases: Exception

  • API Code : 262
  • API Message : You can only add up to 20 Titles. Please choose the most relevant ones.
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class ReachedMaxTitles(Exception):
    """
    - **API Code** : 262
    - **API Message** : You can only add up to 20 Titles. Please choose the most relevant ones.
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

ReachedTitleLength

Bases: Exception

  • API Code : 240
  • API Message : Sorry, the max length of member's title is limited to 20.
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class ReachedTitleLength(Exception):
    """
    - **API Code** : 240
    - **API Message** : Sorry, the max length of member's title is limited to 20.
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

ReasonNeeded

Bases: Exception

Raised when you try to execute an command but a Reason needs to be specified.

Source code in aminofixfix/lib/exceptions.py
class ReasonNeeded(Exception):
    """
    Raised when you try to execute an command but a Reason needs to be specified.
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

RemovedFromChat

Bases: Exception

  • API Code : 1612
  • API Message : You've been removed from this chatroom.
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class RemovedFromChat(Exception):
    """
    - **API Code** : 1612
    - **API Message** : You've been removed from this chatroom.
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

RequestRejected

Bases: Exception

  • API Code : 235
  • API Message : Request rejected. You have been temporarily muted (read only mode) because you have received a strike. To learn more, please check the Help Center.
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class RequestRejected(Exception):
    """
    - **API Code** : 235
    - **API Message** : Request rejected. You have been temporarily muted (read only mode) because you have received a strike. To learn more, please check the Help Center.
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

RequestedNoLongerExists

Bases: Exception

  • API Code : 500, 700, 1600
  • API Message : Sorry, the requested data no longer exists. Try refreshing the view.
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class RequestedNoLongerExists(Exception):
    """
    - **API Code** : 500, 700, 1600
    - **API Message** : Sorry, the requested data no longer exists. Try refreshing the view.
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

ServersAreDying

Bases: Exception

  • API Code : 502-504
  • API Message : Bad Gateway, Service Unavailable or Gateway Timeout
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class ServersAreDying(Exception):
    """
    - **API Code** : 502-504
    - **API Message** : Bad Gateway, Service Unavailable or Gateway Timeout
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

ServiceUnderMaintenance

Bases: Exception

  • API Code : 111
  • API Message : Sorry, this service is under maintenance. Please check back later.
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class ServiceUnderMaintenance(Exception):
    """
    - **API Code** : 111
    - **API Message** : Sorry, this service is under maintenance. Please check back later.
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

SpecifyType

Bases: Exception

Raised when you need to specify the output of the command.

Source code in aminofixfix/lib/exceptions.py
class SpecifyType(Exception):
    """
    Raised when you need to specify the output of the command.
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

Teapot

Bases: Exception

  • API Code : 418
  • API Message : 418 I'm teapot
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class Teapot(Exception):
    """
    - **API Code** : 418
    - **API Message** : 418 I'm teapot
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

TooBigContent

Bases: Exception

  • API Code : 413
  • API Message : 413 Content Too Large
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class TooBigContent(Exception):
    """
    - **API Code** : 413
    - **API Message** : 413 Content Too Large
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

TooManyChats

Bases: Exception

  • API Code : 1602
  • API Message : Sorry, you can only have up to 1000 chat sessions.
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class TooManyChats(Exception):
    """
    - **API Code** : 1602
    - **API Message** : Sorry, you can only have up to 1000 chat sessions.
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

TooManyInviteUsers

Bases: Exception

  • API Code : 1606
  • API Message : Sorry, you can only invite up to 999 people.
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class TooManyInviteUsers(Exception):
    """
    - **API Code** : 1606
    - **API Message** : Sorry, you can only invite up to 999 people.
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

TooManyRequests

Bases: Exception

  • API Code : 219
  • API Message : Too many requests. Try again later.
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class TooManyRequests(Exception):
    """
    - **API Code** : 219
    - **API Message** : Too many requests. Try again later.
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

TransferRequestNeeded

Bases: Exception

Raised when you need to transfer host to complete the action.

Source code in aminofixfix/lib/exceptions.py
class TransferRequestNeeded(Exception):
    """
    Raised when you need to transfer host to complete the action.
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

Unauthorized

Bases: Exception

  • API Code : 401
  • API Message : 401 Unauthorized.
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class Unauthorized(Exception):
    """
    - **API Code** : 401
    - **API Message** : 401 Unauthorized.
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

UnexistentData

Bases: Exception

  • API Code : 107
  • API Message : The requested data does not exist.
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class UnexistentData(Exception):
    """
    - **API Code** : 107
    - **API Message** : The requested data does not exist.
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

UnknownError

Bases: Exception

  • API Code : ???
  • API Message : ???
  • API String : Unknown String

Fallback for unknown errors, exceptions and etc.

Source code in aminofixfix/lib/exceptions.py
class UnknownError(Exception):
    """
    - **API Code** : ???
    - **API Message** : ???
    - **API String** : ``Unknown String``

    Fallback for unknown errors, exceptions and etc.
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

UnknownResponse

Bases: Exception

Raised when an error occurs but the reason is unknown.

Source code in aminofixfix/lib/exceptions.py
class UnknownResponse(Exception):
    """
    Raised when an error occurs but the reason is unknown.
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

UnsupportedEmail

Bases: Exception

  • API Code : 215
  • API Message : This email address is not supported.
  • API String : API_ERR_EMAIL_TAKEN
Source code in aminofixfix/lib/exceptions.py
class UnsupportedEmail(Exception):
    """
    - **API Code** : 215
    - **API Message** : This email address is not supported.
    - **API String** : API_ERR_EMAIL_TAKEN
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

UnsupportedLanguage

Bases: Exception

Raised when you try to use a language that isn't supported or exists.

Source code in aminofixfix/lib/exceptions.py
class UnsupportedLanguage(Exception):
    """
    Raised when you try to use a language that isn't supported or exists.
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

UnsupportedService

Bases: Exception

  • API Code : 100
  • API Message : Unsupported service. Your client may be out of date. Please update it to the latest version.
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class UnsupportedService(Exception):
    """
    - **API Code** : 100
    - **API Message** : Unsupported service. Your client may be out of date. Please update it to the latest version.
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

UserBannedByTeamAmino

Bases: Exception

  • API Code : 293
  • API Message : Sorry, this user has been banned by Team Amino.
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class UserBannedByTeamAmino(Exception):
    """
    - **API Code** : 293
    - **API Message** : Sorry, this user has been banned by Team Amino.
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

UserHasBeenDeleted

Bases: Exception

  • API Code : 245
  • API Message : Sorry, this user has been deleted.
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class UserHasBeenDeleted(Exception):
    """
    - **API Code** : 245
    - **API Message** : Sorry, this user has been deleted.
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

UserNotJoined

Bases: Exception

  • API Code : 1613
  • API Message : Sorry, this user has not joined.
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class UserNotJoined(Exception):
    """
    - **API Code** : 1613
    - **API Message** : Sorry, this user has not joined.
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

UserNotMemberOfCommunity

Bases: Exception

  • API Code : 230
  • API Message : You have to join this Community first.
  • API String : API_ERR_USER_NOT_IN_COMMUNITY
Source code in aminofixfix/lib/exceptions.py
class UserNotMemberOfCommunity(Exception):
    """
    - **API Code** : 230
    - **API Message** : You have to join this Community first.
    - **API String** : API_ERR_USER_NOT_IN_COMMUNITY
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

UserUnavailable

Bases: Exception

  • API Code : 225
  • API Message : This user is unavailable.
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class UserUnavailable(Exception):
    """
    - **API Code** : 225
    - **API Message** : This user is unavailable.
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

VerificationRequired

Bases: Exception

  • API Code : 270
  • API Message : Verification Required.
  • API String : API_ERR_NEED_TWO_FACTOR_AUTHENTICATION
Source code in aminofixfix/lib/exceptions.py
class VerificationRequired(Exception):
    """
    - **API Code** : 270
    - **API Message** : Verification Required.
    - **API String** : API_ERR_NEED_TWO_FACTOR_AUTHENTICATION
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

WallCommentingDisabled

Bases: Exception

  • API Code : 702
  • API Message : This member has disabled commenting on their wall.
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class WallCommentingDisabled(Exception):
    """
    - **API Code** : 702
    - **API Message** : This member has disabled commenting on their wall.
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

WrongType

Bases: Exception

Raised when you attribute the function the wrong type.

Source code in aminofixfix/lib/exceptions.py
class WrongType(Exception):
    """
    Raised when you attribute the function the wrong type.
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

YouAreBanned

Bases: Exception

  • API Code : 229
  • API Message : You are banned.
  • API String : Unknown String
Source code in aminofixfix/lib/exceptions.py
class YouAreBanned(Exception):
    """
    - **API Code** : 229
    - **API Message** : You are banned.
    - **API String** : ``Unknown String``
    """

    def __init__(*args, **kwargs):
        Exception.__init__(*args, **kwargs)

CheckCode(data, api_code, http_error_code=False)

Big chungus for destroying api codes and your code rising an metal gear exception

Source code in aminofixfix/lib/exceptions.py
def CheckCode(data: str | dict, api_code: int, http_error_code: bool = False):
    """
    Big chungus for destroying api codes and your code rising an metal gear exception
    """
    # http error codes that very common in amino
    if http_error_code:
        if api_code == 401:
            raise Unauthorized(data)
        elif api_code == 403:
            raise IpTemporaryBan(data)
        elif api_code == 404:
            raise NotFound(data)
        elif api_code == 413:
            raise TooBigContent(data)
        elif api_code == 418:
            raise Teapot(data)
        elif api_code == 429:
            raise TooManyRequests(data)
        elif api_code == 500:
            raise InternalServerError(data)
        elif api_code in [502, 503, 504]:
            raise ServersAreDying(data)
        else:
            raise UnknownError(data)

    # amino errors
    if api_code == 100:
        raise UnsupportedService(data)
    elif api_code == 102:
        raise FileTooLarge(data)
    elif api_code in [103, 104]:
        raise InvalidRequest(data)
    elif api_code == 105:
        raise InvalidSession(data)
    elif api_code == 106:
        raise AccessDenied(data)
    elif api_code == 107:
        raise UnexistentData(data)
    elif api_code == 110:
        raise ActionNotAllowed(data)
    elif api_code == 111:
        raise ServiceUnderMaintenance(data)
    elif api_code == 113:
        raise MessageNeeded(data)
    elif api_code == 200:
        raise InvalidAccountOrPassword(data)
    elif api_code == 201:
        raise AccountDisabled(data)
    elif api_code == 213:
        raise InvalidEmail(data)
    elif api_code == 214:
        raise InvalidPassword(data)
    elif api_code == 215:
        raise EmailAlreadyTaken(data) and UnsupportedEmail(data)
    elif api_code == 216:
        raise AccountDoesntExist(data)
    elif api_code == 218:
        raise InvalidDevice(data)
    elif api_code == 219:
        raise AccountLimitReached(data) or TooManyRequests(data)
    elif api_code == 221:
        raise CantFollowYourself(data)
    elif api_code == 225:
        raise UserUnavailable(data)
    elif api_code == 229:
        raise YouAreBanned(data)
    elif api_code == 230:
        raise UserNotMemberOfCommunity(data)
    elif api_code == 235:
        raise RequestRejected(data)
    elif api_code == 238:
        raise ActivateAccount(data)
    elif api_code == 239:
        raise CantLeaveCommunity(data)
    elif api_code == 240:
        raise ReachedTitleLength(data)
    elif api_code == 245:
        raise UserHasBeenDeleted(data)
    elif api_code == 246:
        raise AccountDeleted(data)
    elif api_code == 251:
        raise API_ERR_EMAIL_NO_PASSWORD(data)
    elif api_code == 257:
        raise API_ERR_COMMUNITY_USER_CREATED_COMMUNITIES_VERIFY(data)
    elif api_code == 262:
        raise ReachedMaxTitles(data)
    elif api_code == 270:
        raise VerificationRequired(data)
    elif api_code == 271:
        raise API_ERR_INVALID_AUTH_NEW_DEVICE_LINK(data)
    elif api_code == 291:
        raise CommandCooldown(data)
    elif api_code == 293:
        raise UserBannedByTeamAmino(data)
    elif api_code == 300:
        raise BadImage(data)
    elif api_code == 313:
        raise InvalidThemepack(data)
    elif api_code == 314:
        raise InvalidVoiceNote(data)
    elif api_code in [500, 700, 1600]:
        raise RequestedNoLongerExists(data)
    elif api_code == 503:
        raise PageRepostedTooRecently(data)
    elif api_code == 551:
        raise InsufficientLevel(data)
    elif api_code == 702:
        raise WallCommentingDisabled(data)
    elif api_code == 801:
        raise CommunityNoLongerExists(data)
    elif api_code == 802:
        raise InvalidCodeOrLink(data)
    elif api_code == 805:
        raise CommunityNameAlreadyTaken(data)
    elif api_code == 806:
        raise CommunityCreateLimitReached(data)
    elif api_code == 814:
        raise CommunityDisabled(data)
    elif api_code == 833:
        raise CommunityDeleted(data)
    elif api_code == 1501:
        raise DuplicatePollOption(data)
    elif api_code == 1507:
        raise ReachedMaxPollOptions(data)
    elif api_code == 1602:
        raise TooManyChats(data)
    elif api_code == 1605:
        raise ChatFull(data)
    elif api_code == 1606:
        raise TooManyInviteUsers(data)
    elif api_code == 1611:
        raise ChatInvitesDisabled(data)
    elif api_code == 1612:
        raise RemovedFromChat(data)
    elif api_code == 1613:
        raise UserNotJoined(data)
    elif api_code == 1627:
        raise API_ERR_CHAT_VVCHAT_NO_MORE_REPUTATIONS(data)
    elif api_code == 1637:
        raise MemberKickedByOrganizer(data)
    elif api_code == 1661:
        raise LevelFiveRequiredToEnableProps(data)
    elif api_code == 1663:
        raise ChatViewOnly(data)
    elif api_code == 1664:
        raise ChatMessageTooBig(data)
    elif api_code == 1900:
        raise InviteCodeNotFound(data)
    elif api_code == 2001:
        raise AlreadyRequestedJoinCommunity(data)
    elif api_code == 2501:
        raise API_ERR_PUSH_SERVER_LIMITATION_APART(data)
    elif api_code == 2502:
        raise API_ERR_PUSH_SERVER_LIMITATION_COUNT(data)
    elif api_code == 2503:
        raise API_ERR_PUSH_SERVER_LINK_NOT_IN_COMMUNITY(data)
    elif api_code == 2504:
        raise API_ERR_PUSH_SERVER_LIMITATION_TIME(data)
    elif api_code == 2601:
        raise AlreadyCheckedIn(data)
    elif api_code == 2611:
        raise AlreadyUsedMonthlyRepair(data)
    elif api_code == 2800:
        raise AccountAlreadyRestored(data)
    elif api_code == 3102:
        raise IncorrectVerificationCode(data)
    elif api_code == 3905:
        raise NotOwnerOfChatBubble(data)
    elif api_code == 4300:
        raise NotEnoughCoins(data)
    elif api_code == 4400:
        raise AlreadyPlayedLottery(data)
    elif api_code in [4500, 4501]:
        raise CannotSendCoins(data)
    elif api_code == 4805:
        raise FailedSubscribeFanClub(data)
    elif api_code == 6001:
        raise AminoIDAlreadyChanged(data)
    elif api_code == 6002:
        raise InvalidAminoID(data)
    elif api_code == 9901:
        raise InvalidName(data)
    else:
        raise UnknownError(data)

CheckException(response)

Check exception for any request of client. It doesn't matter if it sync or async. It uses standart json library and getting text from response. Just make sure that response.text is not function.

Pass response from request.

Nothing returns.

Raises exception.

Source code in aminofixfix/lib/exceptions.py
def CheckException(response):
    """
    Check exception for any request of client. It doesn't matter if it sync or async. It uses standart json library and getting text from response. Just make sure that `response.text` is not function.

    Pass response from request.

    Nothing returns.

    Raises exception.
    """
    try:
        data = loads(response.text)
        api_code = data["api:statuscode"]
        http_error_code = False

        if api_code == response.status_code:
            http_error_code = True
    except:
        data = response.text
        api_code = response.status_code
        http_error_code = True

    CheckCode(data, api_code, http_error_code)
    return