File Explorer

/proc/self/root/var/runtime/node_modules/@aws-sdk/client-keyspacesstreams/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.js2.6 KB · 72 lines
"use strict";Object.defineProperty(exports, "__esModule", { value: true });exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.AccessDeniedException = void 0;const KeyspacesStreamsServiceException_1 = require("./KeyspacesStreamsServiceException");class AccessDeniedException extends KeyspacesStreamsServiceException_1.KeyspacesStreamsServiceException {    name = "AccessDeniedException";    $fault = "client";    constructor(opts) {        super({            name: "AccessDeniedException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, AccessDeniedException.prototype);    }}exports.AccessDeniedException = AccessDeniedException;class InternalServerException extends KeyspacesStreamsServiceException_1.KeyspacesStreamsServiceException {    name = "InternalServerException";    $fault = "server";    constructor(opts) {        super({            name: "InternalServerException",            $fault: "server",            ...opts,        });        Object.setPrototypeOf(this, InternalServerException.prototype);    }}exports.InternalServerException = InternalServerException;class ResourceNotFoundException extends KeyspacesStreamsServiceException_1.KeyspacesStreamsServiceException {    name = "ResourceNotFoundException";    $fault = "client";    constructor(opts) {        super({            name: "ResourceNotFoundException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ResourceNotFoundException.prototype);    }}exports.ResourceNotFoundException = ResourceNotFoundException;class ThrottlingException extends KeyspacesStreamsServiceException_1.KeyspacesStreamsServiceException {    name = "ThrottlingException";    $fault = "client";    constructor(opts) {        super({            name: "ThrottlingException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ThrottlingException.prototype);    }}exports.ThrottlingException = ThrottlingException;class ValidationException extends KeyspacesStreamsServiceException_1.KeyspacesStreamsServiceException {    name = "ValidationException";    $fault = "client";    errorCode;    constructor(opts) {        super({            name: "ValidationException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ValidationException.prototype);        this.errorCode = opts.errorCode;    }}exports.ValidationException = ValidationException;