Skip to content

ReaderErrorEventArgs

QuantConnect.Lean.Engine.DataFeeds.ReaderErrorEventArgs

ReaderErrorEventArgs(line: str, exception: Exception)

Bases: EventArgs

Event arguments for the TextSubscriptionDataSourceReader.reader_error event.

Initializes a new instance of the ReaderErrorEventArgs class

Parameters:

Name Type Description Default
line str

The line that caused the error

required
exception Exception

The exception that was caught during the read

required

line

line: str

Gets the line that caused the error

exception

exception: Exception

Gets the exception that was caught