File Explorer

/proc/self/root/var/runtime/node_modules/@aws-sdk/client-codeartifact/dist-cjs/models

This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.

errors.js3.9 KB · 112 lines
"use strict";Object.defineProperty(exports, "__esModule", { value: true });exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.AccessDeniedException = void 0;const CodeartifactServiceException_1 = require("./CodeartifactServiceException");class AccessDeniedException extends CodeartifactServiceException_1.CodeartifactServiceException {    name = "AccessDeniedException";    $fault = "client";    constructor(opts) {        super({            name: "AccessDeniedException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, AccessDeniedException.prototype);    }}exports.AccessDeniedException = AccessDeniedException;class ConflictException extends CodeartifactServiceException_1.CodeartifactServiceException {    name = "ConflictException";    $fault = "client";    resourceId;    resourceType;    constructor(opts) {        super({            name: "ConflictException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ConflictException.prototype);        this.resourceId = opts.resourceId;        this.resourceType = opts.resourceType;    }}exports.ConflictException = ConflictException;class InternalServerException extends CodeartifactServiceException_1.CodeartifactServiceException {    name = "InternalServerException";    $fault = "server";    constructor(opts) {        super({            name: "InternalServerException",            $fault: "server",            ...opts,        });        Object.setPrototypeOf(this, InternalServerException.prototype);    }}exports.InternalServerException = InternalServerException;class ResourceNotFoundException extends CodeartifactServiceException_1.CodeartifactServiceException {    name = "ResourceNotFoundException";    $fault = "client";    resourceId;    resourceType;    constructor(opts) {        super({            name: "ResourceNotFoundException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ResourceNotFoundException.prototype);        this.resourceId = opts.resourceId;        this.resourceType = opts.resourceType;    }}exports.ResourceNotFoundException = ResourceNotFoundException;class ServiceQuotaExceededException extends CodeartifactServiceException_1.CodeartifactServiceException {    name = "ServiceQuotaExceededException";    $fault = "client";    resourceId;    resourceType;    constructor(opts) {        super({            name: "ServiceQuotaExceededException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);        this.resourceId = opts.resourceId;        this.resourceType = opts.resourceType;    }}exports.ServiceQuotaExceededException = ServiceQuotaExceededException;class ThrottlingException extends CodeartifactServiceException_1.CodeartifactServiceException {    name = "ThrottlingException";    $fault = "client";    retryAfterSeconds;    constructor(opts) {        super({            name: "ThrottlingException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ThrottlingException.prototype);        this.retryAfterSeconds = opts.retryAfterSeconds;    }}exports.ThrottlingException = ThrottlingException;class ValidationException extends CodeartifactServiceException_1.CodeartifactServiceException {    name = "ValidationException";    $fault = "client";    reason;    constructor(opts) {        super({            name: "ValidationException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ValidationException.prototype);        this.reason = opts.reason;    }}exports.ValidationException = ValidationException;