Module vodscrepe.errors
None
None
View Source class Error (Exception ):
message: str
class InvalidVideoError (Error ):
def __init__ (self , vod_id: str ):
message = f "Invalid Video: vods.co vod '{vod_id}' links to invalid video"
super ().__init__ (message )
class InvalidPageError (Error ):
def __init__ (self , *args ):
message = "Invalid Page: vods.co game '%s' does not have page '%i'" % args
super ().__init__ (message )
Classes
Error
class Error (
/ ,
* args ,
** kwargs
)
View Source class Error (Exception ):
message: str
Ancestors (in MRO)
builtins.Exception
builtins.BaseException
Descendants
vodscrepe.errors.InvalidVideoError
vodscrepe.errors.InvalidPageError
Class variables
Methods
with_traceback
def with_traceback (
...
)
Exception.with_traceback(tb) --
set self.traceback to tb and return self.
InvalidPageError
class InvalidPageError (
* args
)
View Source class InvalidPageError (Error ):
def __init__ (self , *args ):
message = "Invalid Page: vods.co game '%s' does not have page '%i'" % args
super ().__init__ (message )
Ancestors (in MRO)
vodscrepe.errors.Error
builtins.Exception
builtins.BaseException
Class variables
Methods
with_traceback
def with_traceback (
...
)
Exception.with_traceback(tb) --
set self.traceback to tb and return self.
InvalidVideoError
class InvalidVideoError (
vod_id : str
)
View Source class InvalidVideoError (Error ):
def __init__ (self , vod_id: str ):
message = f "Invalid Video: vods.co vod '{vod_id}' links to invalid video"
super ().__init__ (message )
Ancestors (in MRO)
vodscrepe.errors.Error
builtins.Exception
builtins.BaseException
Class variables
Methods
with_traceback
def with_traceback (
...
)
Exception.with_traceback(tb) --
set self.traceback to tb and return self.