/// <summary> /// Initializes a new instance of the <see cref="InvalidApiUsageException"/> class. /// </summary> /// <param name="usageError">The usage error associated with this exception.</param> /// <param name="message">The message that describes the error.</param> public InvalidApiUsageException(ApiUsageError usageError, string message) : base(message) { UsageError = usageError; }
/// <summary> /// Initializes a new instance of the <see cref="InvalidApiUsageException"/> class. /// </summary> /// <param name="usageError">The usage error associated with this exception.</param> /// <param name="message">The message that describes the error.</param> public InvalidApiUsageException(ApiUsageError usageError, string message) : base(message) { UsageError = usageError; }
/// <summary> /// Initializes a new instance of the <see cref="InvalidApiUsageException"/> class. /// </summary> /// <param name="usageError">The usage error associated with this exception.</param> public InvalidApiUsageException(ApiUsageError usageError) : this(usageError, null) { }
/// <summary> /// Initializes a new instance of the <see cref="InvalidApiUsageException"/> class. /// </summary> /// <param name="usageError">The usage error associated with this exception.</param> public InvalidApiUsageException(ApiUsageError usageError) : this(usageError, null) { }