File Explorer

/proc/self/root/var/runtime/node_modules/@aws-sdk/client-mgn/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.js5.0 KB · 153 lines
"use strict";Object.defineProperty(exports, "__esModule", { value: true });exports.ThrottlingException = exports.InternalServerException = exports.ValidationException = exports.UninitializedAccountException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.ConflictException = exports.AccessDeniedException = void 0;const MgnServiceException_1 = require("./MgnServiceException");class AccessDeniedException extends MgnServiceException_1.MgnServiceException {    name = "AccessDeniedException";    $fault = "client";    code;    constructor(opts) {        super({            name: "AccessDeniedException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, AccessDeniedException.prototype);        this.code = opts.code;    }}exports.AccessDeniedException = AccessDeniedException;class ConflictException extends MgnServiceException_1.MgnServiceException {    name = "ConflictException";    $fault = "client";    code;    resourceId;    resourceType;    errors;    constructor(opts) {        super({            name: "ConflictException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ConflictException.prototype);        this.code = opts.code;        this.resourceId = opts.resourceId;        this.resourceType = opts.resourceType;        this.errors = opts.errors;    }}exports.ConflictException = ConflictException;class ResourceNotFoundException extends MgnServiceException_1.MgnServiceException {    name = "ResourceNotFoundException";    $fault = "client";    code;    resourceId;    resourceType;    constructor(opts) {        super({            name: "ResourceNotFoundException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ResourceNotFoundException.prototype);        this.code = opts.code;        this.resourceId = opts.resourceId;        this.resourceType = opts.resourceType;    }}exports.ResourceNotFoundException = ResourceNotFoundException;class ServiceQuotaExceededException extends MgnServiceException_1.MgnServiceException {    name = "ServiceQuotaExceededException";    $fault = "client";    code;    resourceId;    resourceType;    serviceCode;    quotaCode;    quotaValue;    constructor(opts) {        super({            name: "ServiceQuotaExceededException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);        this.code = opts.code;        this.resourceId = opts.resourceId;        this.resourceType = opts.resourceType;        this.serviceCode = opts.serviceCode;        this.quotaCode = opts.quotaCode;        this.quotaValue = opts.quotaValue;    }}exports.ServiceQuotaExceededException = ServiceQuotaExceededException;class UninitializedAccountException extends MgnServiceException_1.MgnServiceException {    name = "UninitializedAccountException";    $fault = "client";    code;    constructor(opts) {        super({            name: "UninitializedAccountException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, UninitializedAccountException.prototype);        this.code = opts.code;    }}exports.UninitializedAccountException = UninitializedAccountException;class ValidationException extends MgnServiceException_1.MgnServiceException {    name = "ValidationException";    $fault = "client";    code;    reason;    fieldList;    constructor(opts) {        super({            name: "ValidationException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ValidationException.prototype);        this.code = opts.code;        this.reason = opts.reason;        this.fieldList = opts.fieldList;    }}exports.ValidationException = ValidationException;class InternalServerException extends MgnServiceException_1.MgnServiceException {    name = "InternalServerException";    $fault = "server";    retryAfterSeconds;    constructor(opts) {        super({            name: "InternalServerException",            $fault: "server",            ...opts,        });        Object.setPrototypeOf(this, InternalServerException.prototype);        this.retryAfterSeconds = opts.retryAfterSeconds;    }}exports.InternalServerException = InternalServerException;class ThrottlingException extends MgnServiceException_1.MgnServiceException {    name = "ThrottlingException";    $fault = "client";    serviceCode;    quotaCode;    retryAfterSeconds;    constructor(opts) {        super({            name: "ThrottlingException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ThrottlingException.prototype);        this.serviceCode = opts.serviceCode;        this.quotaCode = opts.quotaCode;        this.retryAfterSeconds = opts.retryAfterSeconds;    }}exports.ThrottlingException = ThrottlingException;