HEX
Server: Apache/2.4.46 (Win64) OpenSSL/1.1.1j PHP/8.4.25
System: Windows NT DESKTOP-4TAV2RJ 10.0 build 19045 (Windows 10) AMD64
User: fred (0)
PHP: 8.4.25
Disabled: NONE
Upload Files
File: C:/Users/fred/anaconda3/Lib/site-packages/win32comext/axscript/server/error.py
"""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)