File Explorer

/var/runtime/node_modules/@aws-sdk/client-amplify/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.js3.4 KB · 98 lines
"use strict";Object.defineProperty(exports, "__esModule", { value: true });exports.ResourceNotFoundException = exports.NotFoundException = exports.UnauthorizedException = exports.LimitExceededException = exports.InternalFailureException = exports.DependentServiceFailureException = exports.BadRequestException = void 0;const AmplifyServiceException_1 = require("./AmplifyServiceException");class BadRequestException extends AmplifyServiceException_1.AmplifyServiceException {    name = "BadRequestException";    $fault = "client";    constructor(opts) {        super({            name: "BadRequestException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, BadRequestException.prototype);    }}exports.BadRequestException = BadRequestException;class DependentServiceFailureException extends AmplifyServiceException_1.AmplifyServiceException {    name = "DependentServiceFailureException";    $fault = "server";    constructor(opts) {        super({            name: "DependentServiceFailureException",            $fault: "server",            ...opts,        });        Object.setPrototypeOf(this, DependentServiceFailureException.prototype);    }}exports.DependentServiceFailureException = DependentServiceFailureException;class InternalFailureException extends AmplifyServiceException_1.AmplifyServiceException {    name = "InternalFailureException";    $fault = "server";    constructor(opts) {        super({            name: "InternalFailureException",            $fault: "server",            ...opts,        });        Object.setPrototypeOf(this, InternalFailureException.prototype);    }}exports.InternalFailureException = InternalFailureException;class LimitExceededException extends AmplifyServiceException_1.AmplifyServiceException {    name = "LimitExceededException";    $fault = "client";    constructor(opts) {        super({            name: "LimitExceededException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, LimitExceededException.prototype);    }}exports.LimitExceededException = LimitExceededException;class UnauthorizedException extends AmplifyServiceException_1.AmplifyServiceException {    name = "UnauthorizedException";    $fault = "client";    constructor(opts) {        super({            name: "UnauthorizedException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, UnauthorizedException.prototype);    }}exports.UnauthorizedException = UnauthorizedException;class NotFoundException extends AmplifyServiceException_1.AmplifyServiceException {    name = "NotFoundException";    $fault = "client";    constructor(opts) {        super({            name: "NotFoundException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, NotFoundException.prototype);    }}exports.NotFoundException = NotFoundException;class ResourceNotFoundException extends AmplifyServiceException_1.AmplifyServiceException {    name = "ResourceNotFoundException";    $fault = "client";    code;    constructor(opts) {        super({            name: "ResourceNotFoundException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ResourceNotFoundException.prototype);        this.code = opts.code;    }}exports.ResourceNotFoundException = ResourceNotFoundException;