<s> from __future__ import absolute_import <EOL> from raven . _compat import text_type <EOL> class APIError ( Exception ) : <EOL> def __init__ ( self , message , code = <NUM_LIT:0> ) : <EOL> self . code = code <EOL> self . message = message <EOL> def __unicode__ ( self ) : <EOL> return text_type ( "<STR_LIT>" % ( self . message , self . code ) ) <EOL> class RateLimited ( APIError ) : <EOL> def __init__ ( self , message , retry_after = <NUM_LIT:0> ) : <EOL> self . retry_after = retry_after <EOL> super ( RateLimited , self ) . __init__ ( message , <NUM_LIT> ) <EOL> class InvalidGitRepository ( Exception ) : <EOL> pass <EOL> class ConfigurationError ( ValueError ) : <EOL> pass <EOL> class InvalidDsn ( ConfigurationError ) : <EOL> pass </s>
