Module ImportFrom alias identifier ImportFrom alias Import alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Return SubscriptLoad AttributeLoad NameLoad attr Index Str handlers ExceptHandler type NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If CompareIsNot NameLoad NameLoad body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If CompareIsNot NameLoad NameLoad body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If CompareIsNot NameLoad NameLoad body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If CompareIsNot NameLoad NameLoad body Return AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Return AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Return BinOpMod Call AttributeLoad NameLoad attr Str TupleLoad NameLoad AttributeLoad NameLoad attr NameLoad Return BinOpMod Call AttributeLoad NameLoad attr Str TupleLoad NameLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str Pass decorator_list ClassDef bases NameLoad body Expr Str Pass decorator_list ClassDef bases NameLoad body Expr Str Pass decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str Pass decorator_list ClassDef bases NameLoad body Expr Str Pass decorator_list ClassDef bases NameLoad body Expr Str Pass decorator_list ClassDef bases NameLoad body Expr Str Pass decorator_list ClassDef bases NameLoad body Expr Str Pass decorator_list ClassDef bases NameLoad body Expr Str Pass decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str If CompareIsNot NameLoad NameLoad body Return AttributeLoad NameLoad attr decorator_list NameLoad ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Call AttributeLoad NameLoad attr Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Return SubscriptLoad AttributeLoad NameLoad attr Index Str handlers ExceptHandler type NameLoad body Pass Assign NameStore Call NameLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Call AttributeLoad NameLoad attr Str attr GeneratorExp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str Pass decorator_list ClassDef bases NameLoad body Expr Str Pass decorator_list ClassDef bases NameLoad body Expr Str Pass decorator_list ClassDef bases NameLoad body Expr Str Pass decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list Assign NameStore Dict Num Num Num Num Num Num Num Num Num Num Num Num NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Return SubscriptLoad NameLoad Index NameLoad handlers ExceptHandler type NameLoad body FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad NameLoad decorator_list Return NameLoad decorator_list Assign NameStore ListLoad NameLoad Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore BinOpAdd Call NameLoad Call AttributeLoad NameLoad attr NameLoad
N/A six.moves http_client httplib xml.etree ElementTree N/A six ResponseError N/A Exception N/A N/A An error received from the Recurly API in response to an HTTP
    request. __init__ N/A N/A self response_xml N/A N/A N/A N/A self response_xml response_xml N/A response_doc N/A N/A self N/A N/A N/A The XML document received from the service. N/A N/A N/A N/A N/A self __dict__ N/A response_doc N/A N/A N/A KeyError N/A N/A N/A N/A self __dict__ N/A response_doc N/A N/A ElementTree fromstring N/A self response_xml N/A N/A N/A self __dict__ N/A response_doc N/A property symbol N/A N/A self N/A N/A N/A The machine-readable identifier for the error. N/A el N/A N/A N/A self response_doc find symbol N/A N/A el None N/A N/A N/A el text N/A property message N/A N/A self N/A N/A N/A The human-readable description of the error. N/A el N/A N/A N/A self response_doc find description N/A N/A el None N/A N/A N/A el text N/A property details N/A N/A self N/A N/A N/A A further human-readable elaboration on the error. N/A el N/A N/A N/A self response_doc find details N/A N/A el None N/A N/A N/A el text N/A property error N/A N/A self N/A N/A N/A A fall-back error message in the event no more specific
        error is given. N/A el N/A N/A N/A self response_doc find error N/A N/A el None N/A N/A N/A el text N/A property __str__ N/A N/A self N/A N/A N/A N/A N/A self __unicode__ N/A __unicode__ N/A N/A self N/A N/A N/A symbol N/A self symbol N/A N/A symbol None N/A N/A N/A self error N/A details N/A self details N/A N/A details None N/A N/A N/A N/A N/A six u %s: %s %s N/A symbol N/A self message details N/A N/A N/A N/A six u %s: %s N/A symbol N/A self message N/A N/A ClientError N/A ResponseError N/A N/A An error resulting from a problem in the client's request (that
    is, an error with an HTTP ``4xx`` status code). N/A N/A BadRequestError N/A ClientError N/A N/A An error showing the request was invalid or could not be
    understood by the server.

    The error was returned as a ``400 Bad Request`` response.
    Resubmitting the request will likely result in the same error.

     N/A N/A ConfigurationError N/A Exception N/A N/A An error related to a bad configuration N/A N/A UnauthorizedError N/A ClientError N/A N/A An error for a missing or invalid API key (HTTP ``401 Unauthorized``). __init__ N/A N/A self response_xml N/A N/A N/A N/A self response_text response_xml N/A __unicode__ N/A N/A self N/A N/A N/A N/A N/A six text_type N/A self response_text N/A N/A PaymentRequiredError N/A ClientError N/A N/A An error indicating your Recurly account is in production mode
    but is not in good standing (HTTP ``402 Payment Required``). N/A N/A ForbiddenError N/A ClientError N/A N/A An error showing the request represented an action the client
    does not have privileges to access.

    This error was returned as a ``403 Forbidden`` response. Verify
    your login credentials are for the appropriate account.

     N/A N/A NotFoundError N/A ClientError N/A N/A An error for when the resource was not found with the given
    identifier (HTTP ``404 Not Found``). N/A N/A NotAcceptableError N/A ClientError N/A N/A An error for when the client's request could not be accepted by
    the remote service (HTTP ``406 Not Acceptable``). N/A N/A PreconditionFailedError N/A ClientError N/A N/A An error for a request that was unsuccessful because a condition
    was not met.

    For example, this error may arise if you attempt to cancel a
    subscription for an account that has no subscription. This error
    corresponds to the HTTP ``412 Precondition Failed`` status code.

     N/A N/A UnsupportedMediaTypeError N/A ClientError N/A N/A An error resulting from the submission as an unsupported media
    type (HTTP ``415 Unsupported Media Type``). N/A N/A ValidationError N/A ClientError N/A N/A An error indicating some values in the submitted request body
    were not valid. transaction_error_code N/A N/A self N/A N/A N/A The machine-readable error code for a transaction error. N/A error N/A N/A N/A self response_doc find transaction_error N/A N/A error None N/A N/A code N/A N/A error find error_code N/A N/A code None N/A N/A N/A code text N/A property Suberror N/A object N/A N/A An error describing the invalidity of a single invalid
        field. __init__ N/A N/A self field symbol message N/A N/A N/A N/A self field field N/A N/A self symbol symbol N/A N/A self message message N/A __unicode__ N/A N/A self N/A N/A N/A N/A N/A N/A six u %s: %s %s N/A N/A self symbol N/A self field N/A self message N/A N/A errors N/A N/A self N/A N/A N/A A dictionary of error objects, keyed on the name of the
        request field that was invalid.

        Each error value has `field`, `symbol`, and `message`
        attributes describing the particular invalidity of that field.

         N/A N/A N/A N/A N/A self __dict__ N/A errors N/A N/A N/A KeyError N/A N/A N/A suberrors N/A dict N/A err N/A N/A N/A self response_doc findall error N/A N/A field N/A N/A err attrib N/A field N/A symbol N/A N/A err attrib N/A symbol N/A message N/A err text N/A N/A suberrors N/A field N/A N/A self Suberror field symbol message N/A N/A N/A self __dict__ N/A errors suberrors N/A suberrors N/A property __unicode__ N/A N/A self N/A N/A N/A N/A N/A N/A N/A six u ;  join N/A N/A N/A six text_type error N/A error N/A N/A six itervalues N/A self errors N/A N/A ServerError N/A ResponseError N/A N/A An error resulting from a problem creating the server's response
    to the request (that is, an error with an HTTP ``5xx`` status code). N/A N/A InternalServerError N/A ServerError N/A N/A An unexpected general server error (HTTP ``500 Internal Server
    Error``). N/A N/A BadGatewayError N/A ServerError N/A N/A An error resulting when the load balancer or web server has
    trouble connecting to the Recurly app.

    This error is returned as an HTTP ``502 Bad Gateway`` response.
    Try the request again.

     N/A N/A ServiceUnavailableError N/A ServerError N/A N/A An error indicating the service is temporarily unavailable.

    This error results from an HTTP ``503 Service Unavailable``
    response. Try the request again.

     N/A N/A UnexpectedStatusError N/A ResponseError N/A N/A An error resulting from an unexpected status code returned by
    the remote service. __init__ N/A N/A self status response_xml N/A N/A N/A N/A N/A N/A super UnexpectedStatusError self __init__ response_xml N/A N/A self status status N/A __unicode__ N/A N/A self N/A N/A N/A N/A N/A six text_type N/A self status N/A N/A N/A error_classes N/A 400 401 402 403 404 406 412 415 422 500 502 503 BadRequestError UnauthorizedError PaymentRequiredError ForbiddenError NotFoundError NotAcceptableError PreconditionFailedError UnsupportedMediaTypeError ValidationError InternalServerError BadGatewayError ServiceUnavailableError error_class_for_http_status N/A N/A status N/A N/A N/A Return the appropriate `ResponseError` subclass for the given
    HTTP status code. N/A N/A N/A N/A error_classes N/A status N/A N/A N/A KeyError N/A new_status_error N/A N/A xml_response N/A N/A N/A N/A UnexpectedStatusError status xml_response N/A N/A new_status_error N/A N/A other_errors N/A ConfigurationError N/A __all__ N/A N/A x __name__ N/A x N/A N/A list N/A N/A error_classes values other_errors