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