Platforms to show: All Mac Windows Linux Cross-Platform

WindowsScriptErrorExceptionMBS class

Super class: RuntimeException

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Windows MBS Win Plugin 10.0 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
The exception class raised when an error happens while executing a script.
Example
dim w as new WindowsScriptMBS

w.Language = "VBScript"

w.AddCode "a = 1"
w.AddCode "b = 2"

w.AllowUI = false
w.ExecuteStatement "msgbox a+b" // shows exception with access denied

Exception e as WindowsScriptErrorExceptionMBS
MsgBox e.message

Subclass of the RuntimeException class.

This class has no sub classes.

Blog Entries


The items on this page are in the following plugins: MBS Win Plugin.


WindowsReportErrorMBS   -   WindowsScriptErrorMBS


The biggest plugin in space...