InvalidSourceEventArgs
QuantConnect.Lean.Engine.DataFeeds.InvalidSourceEventArgs
InvalidSourceEventArgs(
source: SubscriptionDataSource, exception: Exception
)
Bases: EventArgs
Event arguments for the ISubscriptionDataSourceReader.invalid_source event
Initializes a new instance of the InvalidSourceEventArgs class
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
source
|
SubscriptionDataSource
|
The source that was considered invalid |
required |
exception
|
Exception
|
The exception that was encountered |
required |
exception
exception: Exception
Gets the exception that was encountered