Class PaymentRequiredException
Contains 402(payment required) HTTP client error code details that result from a call to a Web API.
Implements
Inherited Members
Namespace: DNVGL.One.Compute.Platform.Client.Exceptions
Assembly: DNVGL.One.Compute.Platform.Client.dll
Syntax
public class PaymentRequiredException : ApiException<PaymentRequiredErrorInfo>, ISerializable
Constructors
View SourcePaymentRequiredException(PaymentRequiredErrorInfo, Exception)
Initializes a new instance of the PaymentRequiredException class with a specified PaymentRequiredErrorInfo error info.
Declaration
public PaymentRequiredException(PaymentRequiredErrorInfo errorInfo, Exception innerException = null)
Parameters
Type | Name | Description |
---|---|---|
PaymentRequiredErrorInfo | errorInfo | The message that explains the reason for the exception. |
Exception | innerException | The exception that is the cause of the current exception.If the innerException parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception. |