mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 10:51:14 +00:00
9 lines
250 B
Python
9 lines
250 B
Python
class GithubException( Exception ):
|
|
def __init__( self, status, data ):
|
|
Exception.__init__( self )
|
|
self.status = status
|
|
self.data = data
|
|
|
|
def __str__( self ):
|
|
return str( self.status ) + " " + str( self.data )
|