# Path: doac/exceptions/base.py
# class InvalidRequest(Exception):
#     error = "invalid_request"


from .base import InvalidRequest


class AuthorizationCodeAlreadyUsed(InvalidRequest):
    reason = "The authorization code was already used to get a refresh token."


class AuthorizationCodeNotProvided(InvalidRequest):
    reason = "The authorization code was not provided."



# Path: doac/exceptions/base.py
# class InvalidRequest(Exception):
#     error = "invalid_request"


# Path: doac/exceptions/invalid_request.py
from .base import InvalidRequest



class AuthorizationCodeAlreadyUsed(InvalidRequest):
    reason = "The authorization code was already used to get a refresh token."


class AuthorizationCodeNotProvided(InvalidRequest):
    reason = "The authorization code was not provided."



class AuthorizationCodeNotValid(InvalidRequest):