Skip to content

DllNotFoundPythonExceptionInterpreter

QuantConnect.Exceptions.DllNotFoundPythonExceptionInterpreter

Bases: Object, IExceptionInterpreter

Interprets DllNotFoundPythonExceptionInterpreter instances

order

order: int

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

can_interpret

can_interpret(exception: Exception) -> bool

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

Parameters:

Name Type Description Default
exception Exception

The exception to check

required

Returns:

Type Description
bool

True if the exception can be interpreted, false otherwise.

interpret

interpret(
    exception: Exception,
    inner_interpreter: IExceptionInterpreter,
) -> Exception

Interprets the specified exception into a new exception

Parameters:

Name Type Description Default
exception Exception

The exception to be interpreted

required
inner_interpreter IExceptionInterpreter

An interpreter that should be applied to the inner exception.

required

Returns:

Type Description
Exception

The interpreted exception.