Lean  $LEAN_TAG$
QuantConnect.Exceptions.PythonExceptionInterpreter Class Reference

Interprets PythonExceptionInterpreter instances More...

Inheritance diagram for QuantConnect.Exceptions.PythonExceptionInterpreter:
[legend]

Public Member Functions

virtual bool CanInterpret (Exception exception)
 Determines if this interpreter should be applied to the specified exception. f More...
 
virtual Exception Interpret (Exception exception, IExceptionInterpreter innerInterpreter)
 Interprets the specified exception into a new exception More...
 

Public Attributes

virtual int Order => int.MaxValue - 1
 Determines the order that an instance of this class should be called More...
 

Additional Inherited Members

- Properties inherited from QuantConnect.Exceptions.IExceptionInterpreter
int Order [get]
 Determines the order that a class that implements this interface should be called More...
 

Detailed Description

Interprets PythonExceptionInterpreter instances

Definition at line 25 of file PythonExceptionInterpreter.cs.

Member Function Documentation

◆ CanInterpret()

virtual bool QuantConnect.Exceptions.PythonExceptionInterpreter.CanInterpret ( Exception  exception)
virtual

Determines if this interpreter should be applied to the specified exception. f

Parameters
exceptionThe exception to check
Returns
True if the exception can be interpreted, false otherwise

Implements QuantConnect.Exceptions.IExceptionInterpreter.

Reimplemented in QuantConnect.Exceptions.KeyErrorPythonExceptionInterpreter, QuantConnect.Exceptions.NoMethodMatchPythonExceptionInterpreter, QuantConnect.Exceptions.UnsupportedOperandPythonExceptionInterpreter, and QuantConnect.Exceptions.InvalidTokenPythonExceptionInterpreter.

◆ Interpret()

virtual Exception QuantConnect.Exceptions.PythonExceptionInterpreter.Interpret ( Exception  exception,
IExceptionInterpreter  innerInterpreter 
)
virtual

Interprets the specified exception into a new exception

Parameters
exceptionThe exception to be interpreted
innerInterpreterAn interpreter that should be applied to the inner exception.
Returns
The interpreted exception

Implements QuantConnect.Exceptions.IExceptionInterpreter.

Reimplemented in QuantConnect.Exceptions.KeyErrorPythonExceptionInterpreter, QuantConnect.Exceptions.InvalidTokenPythonExceptionInterpreter, QuantConnect.Exceptions.NoMethodMatchPythonExceptionInterpreter, and QuantConnect.Exceptions.UnsupportedOperandPythonExceptionInterpreter.

Definition at line 45 of file PythonExceptionInterpreter.cs.

Here is the call graph for this function:

Member Data Documentation

◆ Order

virtual int QuantConnect.Exceptions.PythonExceptionInterpreter.Order => int.MaxValue - 1

Determines the order that an instance of this class should be called

Definition at line 30 of file PythonExceptionInterpreter.cs.


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