# Path: pale/errors/base.py
# class BasePaleError(PaleBaseResponse, Exception):
#     http_status_code = 500
# 
#     @property
#     def response_body(self):
#         return '{"error": "%s"}' % (self.message, )


from .base import BasePaleError

class ArgumentError(BasePaleError):
    def __init__(self, arg_name, message):
        error_msg = ("Invalid argument: `%s`.  %s"
                % (arg_name, message))
        self.arg_name = arg_name
        super(ArgumentError, self).__init__(error_msg)



# Path: pale/errors/base.py
# class BasePaleError(PaleBaseResponse, Exception):
#     http_status_code = 500
# 
#     @property
#     def response_body(self):
#         return '{"error": "%s"}' % (self.message, )


# Path: pale/errors/validation.py
from .base import BasePaleError


class ArgumentError(BasePaleError):
    def __init__(self, arg_name, message):
        error_msg = ("Invalid argument: `%s`.  %s"
                % (arg_name, message))
        self.arg_name = arg_name
        super(ArgumentError, self).__init__(error_msg)



class AuthenticationError(BasePaleError):