File Explorer

/proc/self/root/var/runtime/node_modules/@aws-sdk/client-amplifybackend/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.3 KB · 69 lines
"use strict";Object.defineProperty(exports, "__esModule", { value: true });exports.TooManyRequestsException = exports.NotFoundException = exports.GatewayTimeoutException = exports.BadRequestException = void 0;const AmplifyBackendServiceException_1 = require("./AmplifyBackendServiceException");class BadRequestException extends AmplifyBackendServiceException_1.AmplifyBackendServiceException {    name = "BadRequestException";    $fault = "client";    Message;    constructor(opts) {        super({            name: "BadRequestException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, BadRequestException.prototype);        this.Message = opts.Message;    }}exports.BadRequestException = BadRequestException;class GatewayTimeoutException extends AmplifyBackendServiceException_1.AmplifyBackendServiceException {    name = "GatewayTimeoutException";    $fault = "server";    Message;    constructor(opts) {        super({            name: "GatewayTimeoutException",            $fault: "server",            ...opts,        });        Object.setPrototypeOf(this, GatewayTimeoutException.prototype);        this.Message = opts.Message;    }}exports.GatewayTimeoutException = GatewayTimeoutException;class NotFoundException extends AmplifyBackendServiceException_1.AmplifyBackendServiceException {    name = "NotFoundException";    $fault = "client";    Message;    ResourceType;    constructor(opts) {        super({            name: "NotFoundException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, NotFoundException.prototype);        this.Message = opts.Message;        this.ResourceType = opts.ResourceType;    }}exports.NotFoundException = NotFoundException;class TooManyRequestsException extends AmplifyBackendServiceException_1.AmplifyBackendServiceException {    name = "TooManyRequestsException";    $fault = "client";    LimitType;    Message;    constructor(opts) {        super({            name: "TooManyRequestsException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, TooManyRequestsException.prototype);        this.LimitType = opts.LimitType;        this.Message = opts.Message;    }}exports.TooManyRequestsException = TooManyRequestsException;