File Explorer

/proc/self/root/var/runtime/node_modules/@aws-sdk/client-dsql/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.2 KB · 128 lines
"use strict";Object.defineProperty(exports, "__esModule", { value: true });exports.ResourceNotFoundException = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.InternalServerException = exports.ConflictException = exports.AccessDeniedException = void 0;const DSQLServiceException_1 = require("./DSQLServiceException");class AccessDeniedException extends DSQLServiceException_1.DSQLServiceException {    name = "AccessDeniedException";    $fault = "client";    constructor(opts) {        super({            name: "AccessDeniedException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, AccessDeniedException.prototype);    }}exports.AccessDeniedException = AccessDeniedException;class ConflictException extends DSQLServiceException_1.DSQLServiceException {    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 DSQLServiceException_1.DSQLServiceException {    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 DSQLServiceException_1.DSQLServiceException {    name = "ServiceQuotaExceededException";    $fault = "client";    resourceId;    resourceType;    serviceCode;    quotaCode;    constructor(opts) {        super({            name: "ServiceQuotaExceededException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);        this.resourceId = opts.resourceId;        this.resourceType = opts.resourceType;        this.serviceCode = opts.serviceCode;        this.quotaCode = opts.quotaCode;    }}exports.ServiceQuotaExceededException = ServiceQuotaExceededException;class ThrottlingException extends DSQLServiceException_1.DSQLServiceException {    name = "ThrottlingException";    $fault = "client";    $retryable = {        throttling: true,    };    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;class ValidationException extends DSQLServiceException_1.DSQLServiceException {    name = "ValidationException";    $fault = "client";    reason;    fieldList;    constructor(opts) {        super({            name: "ValidationException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ValidationException.prototype);        this.reason = opts.reason;        this.fieldList = opts.fieldList;    }}exports.ValidationException = ValidationException;class ResourceNotFoundException extends DSQLServiceException_1.DSQLServiceException {    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;