Lean  $LEAN_TAG$
QuantConnect.Exceptions.KeyErrorPythonExceptionInterpreter Class Reference

Interprets KeyErrorPythonExceptionInterpreter instances More...

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

Public Member Functions

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

Public Attributes

override int Order => 0
 Determines the order that an instance of this class should be called More...
 
- Public Attributes inherited from QuantConnect.Exceptions.PythonExceptionInterpreter
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 KeyErrorPythonExceptionInterpreter instances

Definition at line 26 of file KeyErrorPythonExceptionInterpreter.cs.

Member Function Documentation

◆ CanInterpret()

override bool QuantConnect.Exceptions.KeyErrorPythonExceptionInterpreter.CanInterpret ( Exception  exception)
virtual

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

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

Reimplemented from QuantConnect.Exceptions.PythonExceptionInterpreter.

Definition at line 38 of file KeyErrorPythonExceptionInterpreter.cs.

◆ Interpret()

override Exception QuantConnect.Exceptions.KeyErrorPythonExceptionInterpreter.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

Reimplemented from QuantConnect.Exceptions.PythonExceptionInterpreter.

Definition at line 58 of file KeyErrorPythonExceptionInterpreter.cs.

Here is the call graph for this function:

Member Data Documentation

◆ Order

override int QuantConnect.Exceptions.KeyErrorPythonExceptionInterpreter.Order => 0

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

Definition at line 31 of file KeyErrorPythonExceptionInterpreter.cs.


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