<s> """<STR_LIT>""" <EOL> from httplib import responses <EOL> __all__ = ( "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" ) <EOL> class HTTPError ( Exception ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , code , message = None ) : <EOL> self . code = code <EOL> message = message or responses . get ( code , "<STR_LIT>" ) <EOL> Exception . __init__ ( self , "<STR_LIT>" % ( self . code , message ) ) <EOL> class InvalidMethod ( Exception ) : <EOL> """<STR_LIT>""" <EOL> class CurlError ( Exception ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , code , message = None ) : <EOL> self . code = code <EOL> message = message or responses . get ( code , "<STR_LIT>" ) <EOL> Exception . __init__ ( self , "<STR_LIT>" % ( self . code , message ) ) <EOL> class InterfaceError ( Exception ) : <EOL> """<STR_LIT>""" <EOL> class AuthError ( Exception ) : <EOL> """<STR_LIT>""" </s>
