File Explorer

/proc/self/root/var/runtime/node_modules/@aws-sdk/client-bedrock/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.8 KB · 137 lines
"use strict";Object.defineProperty(exports, "__esModule", { value: true });exports.ServiceUnavailableException = exports.ResourceInUseException = exports.TooManyTagsException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.ConflictException = exports.ValidationException = exports.ThrottlingException = exports.InternalServerException = exports.AccessDeniedException = void 0;const BedrockServiceException_1 = require("./BedrockServiceException");class AccessDeniedException extends BedrockServiceException_1.BedrockServiceException {    name = "AccessDeniedException";    $fault = "client";    constructor(opts) {        super({            name: "AccessDeniedException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, AccessDeniedException.prototype);    }}exports.AccessDeniedException = AccessDeniedException;class InternalServerException extends BedrockServiceException_1.BedrockServiceException {    name = "InternalServerException";    $fault = "server";    constructor(opts) {        super({            name: "InternalServerException",            $fault: "server",            ...opts,        });        Object.setPrototypeOf(this, InternalServerException.prototype);    }}exports.InternalServerException = InternalServerException;class ThrottlingException extends BedrockServiceException_1.BedrockServiceException {    name = "ThrottlingException";    $fault = "client";    constructor(opts) {        super({            name: "ThrottlingException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ThrottlingException.prototype);    }}exports.ThrottlingException = ThrottlingException;class ValidationException extends BedrockServiceException_1.BedrockServiceException {    name = "ValidationException";    $fault = "client";    constructor(opts) {        super({            name: "ValidationException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ValidationException.prototype);    }}exports.ValidationException = ValidationException;class ConflictException extends BedrockServiceException_1.BedrockServiceException {    name = "ConflictException";    $fault = "client";    constructor(opts) {        super({            name: "ConflictException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ConflictException.prototype);    }}exports.ConflictException = ConflictException;class ResourceNotFoundException extends BedrockServiceException_1.BedrockServiceException {    name = "ResourceNotFoundException";    $fault = "client";    constructor(opts) {        super({            name: "ResourceNotFoundException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ResourceNotFoundException.prototype);    }}exports.ResourceNotFoundException = ResourceNotFoundException;class ServiceQuotaExceededException extends BedrockServiceException_1.BedrockServiceException {    name = "ServiceQuotaExceededException";    $fault = "client";    constructor(opts) {        super({            name: "ServiceQuotaExceededException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);    }}exports.ServiceQuotaExceededException = ServiceQuotaExceededException;class TooManyTagsException extends BedrockServiceException_1.BedrockServiceException {    name = "TooManyTagsException";    $fault = "client";    resourceName;    constructor(opts) {        super({            name: "TooManyTagsException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, TooManyTagsException.prototype);        this.resourceName = opts.resourceName;    }}exports.TooManyTagsException = TooManyTagsException;class ResourceInUseException extends BedrockServiceException_1.BedrockServiceException {    name = "ResourceInUseException";    $fault = "client";    constructor(opts) {        super({            name: "ResourceInUseException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ResourceInUseException.prototype);    }}exports.ResourceInUseException = ResourceInUseException;class ServiceUnavailableException extends BedrockServiceException_1.BedrockServiceException {    name = "ServiceUnavailableException";    $fault = "server";    constructor(opts) {        super({            name: "ServiceUnavailableException",            $fault: "server",            ...opts,        });        Object.setPrototypeOf(this, ServiceUnavailableException.prototype);    }}exports.ServiceUnavailableException = ServiceUnavailableException;