Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

PackageVersionError

import type { PackageVersionError } from "https://aws-api.deno.dev/v0.3/services/codeartifact.ts?docs=full";

An error associated with package.

interface PackageVersionError {
errorCode?: PackageVersionErrorCode | null;
errorMessage?: string | null;
}

§Properties

§
errorCode?: PackageVersionErrorCode | null
[src]

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

  • ALREADY_EXISTS
    
  • MISMATCHED_REVISION
    
  • MISMATCHED_STATUS
    
  • NOT_ALLOWED
    
  • NOT_FOUND
    
  • SKIPPED
    
§
errorMessage?: string | null
[src]

The error message associated with the error.