Class PythonInstallException
Exception thrown when Python is installed incorrectly so we can't run.
Inherited Members
Namespace: UnityEditor .Scripting.Python
Assembly: Unity.Scripting.Python.Editor.dll
Syntax
public class PythonInstallException : Exception, _Exception, ISerializable
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 |
---|---|---|
Serialization |
info | Serializaiton info |
Streaming |
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 |