File Explorer

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