Uploaded Test files
This commit is contained in:
parent
f584ad9d97
commit
2e81cb7d99
16627 changed files with 2065359 additions and 102444 deletions
15
venv/Lib/site-packages/win32comext/axscript/server/error.py
Normal file
15
venv/Lib/site-packages/win32comext/axscript/server/error.py
Normal file
|
@ -0,0 +1,15 @@
|
|||
"""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)
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue