18 lines
537 B
C#
18 lines
537 B
C#
using System;
|
|
|
|
namespace RudderSdk.Core;
|
|
|
|
/// <summary>
|
|
/// The request never got a response: DNS/connectivity failure or client-side
|
|
/// timeout. <see cref="RudderApiException.StatusCode"/> is 0. Retrying is safe
|
|
/// for idempotent operations.
|
|
/// </summary>
|
|
public sealed class RudderNetworkException : RudderApiException
|
|
{
|
|
/// <summary>Creates the exception.</summary>
|
|
public RudderNetworkException(string message, Exception? innerException = null)
|
|
: base(0, string.Empty, message, null, innerException)
|
|
{
|
|
}
|
|
}
|