<s> class FacepyError ( Exception ) : <EOL> """<STR_LIT>""" <EOL> class FacebookError ( FacepyError ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , message = None , code = None , error_data = None , error_subcode = None , <EOL> is_transient = None , error_user_title = None , error_user_msg = None ) : <EOL> self . message = message <EOL> self . code = code <EOL> self . error_data = error_data <EOL> self . error_subcode = error_subcode <EOL> self . is_transient = is_transient <EOL> self . error_user_title = error_user_title <EOL> self . error_user_msg = error_user_msg <EOL> if self . code : <EOL> message = '<STR_LIT>' % ( self . code , self . message ) <EOL> super ( FacebookError , self ) . __init__ ( message ) <EOL> class OAuthError ( FacebookError ) : <EOL> """<STR_LIT>""" <EOL> class HTTPError ( FacepyError ) : <EOL> """<STR_LIT>""" <EOL> class SignedRequestError ( FacepyError ) : <EOL> """<STR_LIT>""" <EOL> class InternalFacebookError ( FacebookError ) : <EOL> """<STR_LIT>""" </s>
