Gradient : API Documentation

Type SyntaxError

Namespace LostTech.Gradient.Exceptions

Parent PythonExceptionContainer

Raised when Python parser encounters a syntax error. This may occur in an import statement, in a call to the built-in functions exec() or eval(), or when reading the initial script or standard input (also interactively).

Instances of this class have attributes filename, lineno, offset and text for easier access to the details.str() of the exception instance returns only the message.

Properties

Public properties

IDictionary Data get;

int HResult get; set;

Exception InnerException get;

string Message get;

object PythonObject get;

string Source get; set;

string StackTrace get;

MethodBase TargetSite get;