mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-07-12 16:22:53 -07:00
add subliminal for subtitle download. #253
This commit is contained in:
parent
47289c903a
commit
c3889c01b1
149 changed files with 34173 additions and 33 deletions
27
libs/enzyme/exceptions.py
Normal file
27
libs/enzyme/exceptions.py
Normal file
|
@ -0,0 +1,27 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
__all__ = ['Error', 'MalformedMKVError', 'ParserError', 'ReadError', 'SizeError']
|
||||
|
||||
|
||||
class Error(Exception):
|
||||
"""Base class for enzyme exceptions"""
|
||||
pass
|
||||
|
||||
|
||||
class MalformedMKVError(Error):
|
||||
"""Wrong or malformed element found"""
|
||||
pass
|
||||
|
||||
|
||||
class ParserError(Error):
|
||||
"""Base class for exceptions in parsers"""
|
||||
pass
|
||||
|
||||
|
||||
class ReadError(ParserError):
|
||||
"""Unable to correctly read"""
|
||||
pass
|
||||
|
||||
|
||||
class SizeError(ParserError):
|
||||
"""Mismatch between the type of the element and the size of its data"""
|
||||
pass
|
Loading…
Add table
Add a link
Reference in a new issue