File Explorer

/var/runtime/node_modules/@aws-sdk/client-inspector2/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.js4.3 KB · 127 lines
"use strict";Object.defineProperty(exports, "__esModule", { value: true });exports.ResourceNotFoundException = exports.ConflictException = exports.BadRequestException = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.InternalServerException = exports.AccessDeniedException = void 0;const Inspector2ServiceException_1 = require("./Inspector2ServiceException");class AccessDeniedException extends Inspector2ServiceException_1.Inspector2ServiceException {    name = "AccessDeniedException";    $fault = "client";    constructor(opts) {        super({            name: "AccessDeniedException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, AccessDeniedException.prototype);    }}exports.AccessDeniedException = AccessDeniedException;class InternalServerException extends Inspector2ServiceException_1.Inspector2ServiceException {    name = "InternalServerException";    $fault = "server";    $retryable = {};    retryAfterSeconds;    constructor(opts) {        super({            name: "InternalServerException",            $fault: "server",            ...opts,        });        Object.setPrototypeOf(this, InternalServerException.prototype);        this.retryAfterSeconds = opts.retryAfterSeconds;    }}exports.InternalServerException = InternalServerException;class ServiceQuotaExceededException extends Inspector2ServiceException_1.Inspector2ServiceException {    name = "ServiceQuotaExceededException";    $fault = "client";    resourceId;    constructor(opts) {        super({            name: "ServiceQuotaExceededException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);        this.resourceId = opts.resourceId;    }}exports.ServiceQuotaExceededException = ServiceQuotaExceededException;class ThrottlingException extends Inspector2ServiceException_1.Inspector2ServiceException {    name = "ThrottlingException";    $fault = "client";    $retryable = {        throttling: true,    };    retryAfterSeconds;    constructor(opts) {        super({            name: "ThrottlingException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ThrottlingException.prototype);        this.retryAfterSeconds = opts.retryAfterSeconds;    }}exports.ThrottlingException = ThrottlingException;class ValidationException extends Inspector2ServiceException_1.Inspector2ServiceException {    name = "ValidationException";    $fault = "client";    reason;    fields;    constructor(opts) {        super({            name: "ValidationException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ValidationException.prototype);        this.reason = opts.reason;        this.fields = opts.fields;    }}exports.ValidationException = ValidationException;class BadRequestException extends Inspector2ServiceException_1.Inspector2ServiceException {    name = "BadRequestException";    $fault = "client";    constructor(opts) {        super({            name: "BadRequestException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, BadRequestException.prototype);    }}exports.BadRequestException = BadRequestException;class ConflictException extends Inspector2ServiceException_1.Inspector2ServiceException {    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 ResourceNotFoundException extends Inspector2ServiceException_1.Inspector2ServiceException {    name = "ResourceNotFoundException";    $fault = "client";    constructor(opts) {        super({            name: "ResourceNotFoundException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ResourceNotFoundException.prototype);    }}exports.ResourceNotFoundException = ResourceNotFoundException;