AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

An error that explains why an action did not succeed.

Inheritance Hierarchy

System.Object
  Amazon.ServiceQuotas.Model.ErrorReason

Namespace: Amazon.ServiceQuotas.Model
Assembly: AWSSDK.ServiceQuotas.dll
Version: 3.x.y.z

Syntax

C#
public class ErrorReason

The ErrorReason type exposes the following members

Constructors

NameDescription
Public Method ErrorReason()

Properties

NameTypeDescription
Public Property ErrorCode Amazon.ServiceQuotas.ErrorCode

Gets and sets the property ErrorCode.

Service Quotas returns the following error values:

  • DEPENDENCY_ACCESS_DENIED_ERROR - The caller does not have the required permissions to complete the action. To resolve the error, you must have permission to access the Amazon Web Service or quota.

  • DEPENDENCY_THROTTLING_ERROR - The Amazon Web Service is throttling Service Quotas.

  • DEPENDENCY_SERVICE_ERROR - The Amazon Web Service is not available.

  • SERVICE_QUOTA_NOT_AVAILABLE_ERROR - There was an error in Service Quotas.

Public Property ErrorMessage System.String

Gets and sets the property ErrorMessage.

The error message.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5