Skip to content

Class ScriptException

Namespace: Apogee.Scripting
Assembly: Apogee.Scripting.dll

A script failed. The message is the script's, with its traceback for a runtime error.

public sealed class ScriptException : Exception, ISerializable

Inheritance

object ← Exception ← ScriptException

Implements

ISerializable

Inherited Members

Exception.GetBaseException(), Exception.GetType(), Exception.ToString(), Exception.Data, Exception.HelpLink, Exception.HResult, Exception.InnerException, Exception.Message, Exception.Source, Exception.StackTrace, Exception.TargetSite, object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

ScriptException(ScriptErrorKind, string)

public ScriptException(ScriptErrorKind kind, string message)

Parameters

kind ScriptErrorKind

message string

Properties

Kind

public ScriptErrorKind Kind { get; }

Property Value

ScriptErrorKind