HandledErrorPacket
QuantConnect.Packets.HandledErrorPacket
HandledErrorPacket()
HandledErrorPacket(
algorithm_id: str, message: str, stacktrace: str = ...
)
Bases: Packet
Algorithm runtime error packet from the lean engine. This is a managed error which stops the algorithm execution.
Signature descriptions:
-
Default constructor for JSON
-
Create a new handled error packet
message
message: str
Runtime error message from the exception
algorithm_id
algorithm_id: str
Algorithm id which generated this runtime error
stack_trace
stack_trace: str
Error stack trace information string passed through from the Lean exception
channel
channel: str
User unique specific channel endpoint to send the packets