internal CallError(Call call, SparkError error) : base(call) { this.error = error; }
/// <summary> /// Initializes a new instance of the <see cref="SparkApiEventArgs"/> class. /// </summary> /// <param name="isSuccess">if set to <c>true</c> [success].</param> /// <param name="error">The error value if the successis is false, `null` otherwise. <see cref="SparkError"/></param> /// <remarks>Since: 0.1.0</remarks> public SparkApiEventArgs(bool isSuccess, SparkError error) { this.isSuccess = isSuccess; this.error = error; }