Added view to list supported file formats and reported by the converter backend

This commit is contained in:
Roberto Rosario
2011-06-18 00:51:32 -04:00
parent 5e5d6ee56d
commit 9250a6bbdc
9 changed files with 138 additions and 14 deletions

View File

@@ -1,31 +1,37 @@
class ConvertError(Exception):
'''Base exception for all coverter app exceptions
'''
"""
Base exception for all coverter app exceptions
"""
pass
class UnknownFormat(ConvertError):
'''Raised when the converter backend can't understand or there
isn't an appropiate driver available'''
"""
Raised when the converter backend can't understand or there
isn't an appropiate driver available
"""
pass
class UnpaperError(ConvertError):
'''Raised by upaper
'''
"""
Raised by unpaper
"""
pass
class IdentifyError(ConvertError):
'''Raised by identify
'''
"""
Raised by identify
"""
pass
class UnkownConvertError(ConvertError):
'''Raised when an error is found but there is no disernible way to
"""
Raised when an error is found but there is no disernible way to
identify the kind of error
'''
"""
pass