You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ORPA-pyOpenRPA/Resources/WPy64-3720/python-3.7.2.amd64/Lib/site-packages/win32comext/axscript/server/error.py

16 lines
470 B

"""Exception instance for AXScript servers.
This module implements an exception instance that is raised by the core
server scripting support.
When a script error occurs, it wraps the COM object that describes the
exception in a Python instance, which can then be raised and caught.
"""
class Exception:
def __init__(self, activeScriptError):
self.activeScriptError = activeScriptError
def __getattr__(self, attr):
return getattr(self.activeScriptError, attr)