using System; namespace QuantConnect.Brokerages { /// /// Defines data returned from a web socket error /// public class WebSocketError { /// /// Gets the message /// public string Message { get; } /// /// Gets the exception raised /// public Exception Exception { get; } /// /// Initializes a new instance of the class /// /// The message /// The error public WebSocketError(string message, Exception exception) { Message = message; Exception = exception; } } }