add subliminal for subtitle download. #253

This commit is contained in:
clinton-hall 2014-06-27 17:04:44 +09:30
parent 47289c903a
commit c3889c01b1
149 changed files with 34173 additions and 33 deletions

27
libs/enzyme/exceptions.py Normal file
View 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