33 lines
455 B
Python
33 lines
455 B
Python
|
class PydubException(Exception):
|
||
|
"""
|
||
|
Base class for any Pydub exception
|
||
|
"""
|
||
|
|
||
|
|
||
|
class TooManyMissingFrames(PydubException):
|
||
|
pass
|
||
|
|
||
|
|
||
|
class InvalidDuration(PydubException):
|
||
|
pass
|
||
|
|
||
|
|
||
|
class InvalidTag(PydubException):
|
||
|
pass
|
||
|
|
||
|
|
||
|
class InvalidID3TagVersion(PydubException):
|
||
|
pass
|
||
|
|
||
|
|
||
|
class CouldntDecodeError(PydubException):
|
||
|
pass
|
||
|
|
||
|
|
||
|
class CouldntEncodeError(PydubException):
|
||
|
pass
|
||
|
|
||
|
|
||
|
class MissingAudioParameter(PydubException):
|
||
|
pass
|