Lean  $LEAN_TAG$
QuantConnect.Exceptions.IExceptionInterpreter Interface Reference

Defines an exception interpreter. Interpretations are invoked on IAlgorithm.RunTimeError More...

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

Public Member Functions

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

Properties

int Order [get]
 Determines the order that a class that implements this interface should be called More...
 

Detailed Description

Defines an exception interpreter. Interpretations are invoked on IAlgorithm.RunTimeError

Definition at line 24 of file IExceptionInterpreter.cs.

Member Function Documentation

◆ CanInterpret()

◆ Interpret()

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

Interprets the specified exception into a new exception

Parameters
exceptionThe exception to be interpreted
innerInterpreterAn interpreter that should be applied to the inner exception. This provides a link back allowing the inner exceptions to be interpreted using the interpreters configured in the IExceptionInterpreter. Individual implementations may ignore this value if required.
Returns
The interpreted exception

Implemented in QuantConnect.Exceptions.StackExceptionInterpreter, QuantConnect.Exceptions.KeyErrorPythonExceptionInterpreter, QuantConnect.Exceptions.InvalidTokenPythonExceptionInterpreter, QuantConnect.Exceptions.NoMethodMatchPythonExceptionInterpreter, QuantConnect.Exceptions.UnsupportedOperandPythonExceptionInterpreter, QuantConnect.Exceptions.DllNotFoundPythonExceptionInterpreter, QuantConnect.Exceptions.ScheduledEventExceptionInterpreter, QuantConnect.Exceptions.SystemExceptionInterpreter, QuantConnect.Exceptions.ClrBubbledExceptionInterpreter, and QuantConnect.Exceptions.PythonExceptionInterpreter.

Here is the caller graph for this function:

Property Documentation

◆ Order

int QuantConnect.Exceptions.IExceptionInterpreter.Order
get

Determines the order that a class that implements this interface should be called

Definition at line 29 of file IExceptionInterpreter.cs.


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