File size: 365 Bytes
5fbdd3c
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
class SponsorBlockException(Exception):
    """Base class for all sponsor block exceptions"""
    pass


class PredictionException(SponsorBlockException):
    """An exception was occurred while predicting sponsor segments"""
    pass


class TranscriptError(SponsorBlockException):
    """An exception was occurred while retrieving the video transcript"""
    pass