Lean  $LEAN_TAG$
QuantConnect.Messages.InvalidTokenPythonExceptionInterpreter Class Reference

Provides user-facing messages for the Exceptions.InvalidTokenPythonExceptionInterpreter class and its consumers or related classes More...

Static Public Member Functions

static string InterpretException (PythonException exception)
 Returns a string message saying: Tring to include an invalid token/character in any statement throws s SyntaxError exception. It also contains an advice to prevent that exception More...
 

Static Public Attributes

static string InvalidTokenExpectedSubstring = "invalid token"
 String message saying: invalid token More...
 
static string NotPermittedExpectedSubstring = "are not permitted;"
 String message saying: are not permitted More...
 

Detailed Description

Provides user-facing messages for the Exceptions.InvalidTokenPythonExceptionInterpreter class and its consumers or related classes

Definition at line 48 of file Messages.Exceptions.cs.

Member Function Documentation

◆ InterpretException()

static string QuantConnect.Messages.InvalidTokenPythonExceptionInterpreter.InterpretException ( PythonException  exception)
static

Returns a string message saying: Tring to include an invalid token/character in any statement throws s SyntaxError exception. It also contains an advice to prevent that exception

Definition at line 65 of file Messages.Exceptions.cs.

Here is the caller graph for this function:

Member Data Documentation

◆ InvalidTokenExpectedSubstring

string QuantConnect.Messages.InvalidTokenPythonExceptionInterpreter.InvalidTokenExpectedSubstring = "invalid token"
static

String message saying: invalid token

Definition at line 53 of file Messages.Exceptions.cs.

◆ NotPermittedExpectedSubstring

string QuantConnect.Messages.InvalidTokenPythonExceptionInterpreter.NotPermittedExpectedSubstring = "are not permitted;"
static

String message saying: are not permitted

Definition at line 58 of file Messages.Exceptions.cs.


The documentation for this class was generated from the following file: