AWS SDK Version 4 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.

l An error associated with package.

Inheritance Hierarchy

System.Object
  Amazon.CodeArtifact.Model.PackageVersionError

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

Syntax

C#
public class PackageVersionError

The PackageVersionError type exposes the following members

Constructors

NameDescription
Public Method PackageVersionError()

Properties

NameTypeDescription
Public Property ErrorCode Amazon.CodeArtifact.PackageVersionErrorCode

Gets and sets the property ErrorCode.

The error code associated with the error. Valid error codes are:

  • ALREADY_EXISTS

  • MISMATCHED_REVISION

  • MISMATCHED_STATUS

  • NOT_ALLOWED

  • NOT_FOUND

  • SKIPPED

Public Property ErrorMessage System.String

Gets and sets the property ErrorMessage.

The error message associated with the error.

Version Information

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

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.7.2 and newer