/// <summary> /// Instantiates a new instance of StripeServiceException with the provided arguments /// </summary> /// <param name="message"> /// The exception message /// </param> /// <param name="type"> /// The <see cref="StripeExceptionType"/> for the exception /// </param> /// <param name="inner"> /// The inner exception that originally caused this exception /// </param> public StripeServiceException(string message, StripeExceptionType type, Exception inner) : base(message, inner) { ExceptionType = type; }
/// <summary> /// Instantiates a new instance of StripeServiceException with the provided arguments /// </summary> /// <param name="message"> /// The exception message /// </param> /// <param name="type"> /// The <see cref="StripeExceptionType"/> for the exception /// </param> public StripeServiceException(string message, StripeExceptionType type) : base(message) { ExceptionType = type; }