mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-07-16 02:02:53 -07:00
Move common libs to libs/common
This commit is contained in:
parent
8dbb1a2451
commit
1f4bd41bcc
1612 changed files with 962 additions and 10 deletions
|
@ -1,27 +0,0 @@
|
|||
# -*- 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