Add GhostscriptError
This commit is contained in:
@@ -53,6 +53,11 @@ display_callback = c_void_p
|
|||||||
# https://www.ghostscript.com/doc/current/API.htm
|
# https://www.ghostscript.com/doc/current/API.htm
|
||||||
|
|
||||||
|
|
||||||
|
class GhostscriptError(Exception):
|
||||||
|
def __init__(self, ecode):
|
||||||
|
self.code = ecode
|
||||||
|
|
||||||
|
|
||||||
def new_instance():
|
def new_instance():
|
||||||
"""Create a new instance of Ghostscript
|
"""Create a new instance of Ghostscript
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user