1
0
mirror of https://github.com/gryf/ebook-converter.git synced 2026-02-24 11:15:50 +01:00
Files

22 lines
459 B
Python

from ebook_converter.ebooks import DRMError as _DRMError
__license__ = 'GPL v3'
__copyright__ = '2013, Kovid Goyal <kovid at kovidgoyal.net>'
__docformat__ = 'restructuredtext en'
class InvalidBook(ValueError):
pass
class DRMError(_DRMError):
def __init__(self):
super(DRMError, self).__init__('This file is locked with DRM. It '
'cannot be edited.')
class MalformedMarkup(ValueError):
pass