Module Import alias ImportFrom alias ImportFrom alias alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults Str NameLoad Str body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Return BinOpMod Call NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Call NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Call NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Call NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Str attr NameLoad decorator_list If BoolOpAnd Call NameLoad AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad Str attr keyword Call NameLoad Str keyword Call NameLoad Str keyword Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword Call NameLoad Str keyword Call NameLoad Call NameLoad AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad Str attr ListLoad NameLoad Call AttributeLoad Str attr keyword Call NameLoad Str keyword Call NameLoad Call NameLoad AttributeLoad NameLoad attr Return NameLoad orelse Return Call AttributeLoad Str attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A sys six u version __version__ __version_info__ exceptions TwilioException TwilioRestException N/A TwilioException N/A N/A  A generic 400 or 500 level exception from the Twilio API

    :param int status: the HTTP status that was returned for the exception
    :param str uri: The URI that caused the exception
    :param str msg: A human-readable message for the error
    :param str method: The HTTP method used to make the request
    :param int|None code: A Twilio-specific error code for the error. This is
         not available for all errors.
     __init__ N/A N/A self status uri msg code method N/A None GET N/A N/A N/A self uri uri N/A N/A self status status N/A N/A self msg msg N/A N/A self code code N/A N/A self method method N/A __str__ N/A N/A self N/A N/A N/A  Try to pretty-print the exception, if this is going on screen.  red N/A N/A words N/A N/A N/A N/A N/A u [31m[49m%s[0m words N/A white N/A N/A words N/A N/A N/A N/A N/A u [37m[49m%s[0m words N/A blue N/A N/A words N/A N/A N/A N/A N/A u [34m[49m%s[0m words N/A teal N/A N/A words N/A N/A N/A N/A N/A u [36m[49m%s[0m words N/A get_uri N/A N/A code N/A N/A N/A N/A N/A https://www.twilio.com/docs/errors/{0} format code N/A N/A N/A N/A hasattr N/A sys stderr isatty N/A N/A N/A sys stderr isatty N/A N/A msg N/A N/A 
{red_error} {request_was}

{http_line}

{twilio_returned}

{message}
 format red_error N/A red HTTP Error request_was N/A white Your request was: http_line N/A teal N/A %s %s N/A N/A self method N/A self uri twilio_returned N/A white Twilio returned the following information: message N/A blue N/A str N/A self msg N/A N/A self code N/A N/A msg N/A N/A join N/A msg N/A N/A 
{more_info}

{uri}

 format more_info N/A white More information may be available here: uri N/A blue N/A get_uri N/A self code N/A msg N/A N/A N/A N/A HTTP {0} error: {1} format N/A self status N/A self msg N/A N/A