Class ForbiddenErrorInfo
Contains information about HTTP client error 403 (forbidden) for REST APIs
Namespace: DNVGL.One.Compute.Core.PlatformClient.ApiErrors
Assembly: DNVGL.One.Compute.Core.dll
Syntax
public class ForbiddenErrorInfo : ApiErrorInfo
Constructors
View SourceForbiddenErrorInfo(ForbiddenErrorInfo.Reason, String)
Initializes a new instance of the ForbiddenErrorInfo class.
Declaration
public ForbiddenErrorInfo(ForbiddenErrorInfo.Reason declineReason, string message = null)
Parameters
Type | Name | Description |
---|---|---|
ForbiddenErrorInfo.Reason | declineReason | The declination reason. |
System.String | message | The message. |
Properties
View SourceDeclineReason
Gets a declination reason of a request.
Declaration
public ForbiddenErrorInfo.Reason DeclineReason { get; }
Property Value
Type | Description |
---|---|
ForbiddenErrorInfo.Reason | The decline reason. |