Class PythonInstallException
Exception thrown when Python is installed incorrectly so we can't run.
Inheritance
Namespace: UnityEditor.Scripting.Python
Syntax
public class PythonInstallException : System.Exception
Constructors
PythonInstallException()
Parameterless constructor
Declaration
public PythonInstallException()
PythonInstallException(SerializationInfo, StreamingContext)
Required because base Exception class is serializable.
Declaration
protected PythonInstallException(SerializationInfo info, StreamingContext ctx)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | Serializaiton info |
StreamingContext | ctx | Serialization context |
PythonInstallException(String)
Constructor with message
Declaration
public PythonInstallException(string msg)
Parameters
Type | Name | Description |
---|---|---|
String | msg | The message of the exception |
PythonInstallException(String, Exception)
Constructor with message and the exception that triggered this exception
Declaration
public PythonInstallException(string msg, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
String | msg | The message of the exception |
Exception | innerException | The exception that triggered this exception |
Properties
Message
The exception's string
Declaration
public override string Message { get; }
Property Value
Type | Description |
---|---|
String |