<s> """<STR_LIT>""" <EOL> __author__ = '<STR_LIT>' <EOL> class Error ( Exception ) : <EOL> """<STR_LIT>""" <EOL> class ConfigError ( Error ) : <EOL> """<STR_LIT>""" <EOL> class BadResponseError ( Error ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , code , message = "<STR_LIT>" ) : <EOL> self . code = code <EOL> self . message = message <EOL> def __str__ ( self ) : <EOL> return "<STR_LIT>" % ( self . code , self . message ) <EOL> class BadRequestError ( Error ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , response ) : <EOL> self . response = response <EOL> def __str__ ( self ) : <EOL> return '<STR_LIT>' % ( self . response . status , <EOL> self . response . content ) <EOL> class UnauthorizedRequestError ( Error ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , response ) : <EOL> self . response = response </s>
