Class ForbiddenErrorInfo
Contains information about HTTP client error 403 (forbidden) for REST APIs.
Inherited Members
Namespace: DNVGL.One.Compute.Core.PlatformClient.ApiErrors
Assembly: DNVGL.One.Compute.Core.dll
Syntax
public class ForbiddenErrorInfo : ApiErrorInfo
Constructors
View SourceForbiddenErrorInfo(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. |
string | message | The message. |
See Also
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. |