File Explorer

/var/runtime/node_modules/@aws-sdk/client-deadline/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.7 KB · 144 lines
"use strict";Object.defineProperty(exports, "__esModule", { value: true });exports.ConflictException = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerErrorException = exports.AccessDeniedException = void 0;const DeadlineServiceException_1 = require("./DeadlineServiceException");class AccessDeniedException extends DeadlineServiceException_1.DeadlineServiceException {    name = "AccessDeniedException";    $fault = "client";    context;    constructor(opts) {        super({            name: "AccessDeniedException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, AccessDeniedException.prototype);        this.context = opts.context;    }}exports.AccessDeniedException = AccessDeniedException;class InternalServerErrorException extends DeadlineServiceException_1.DeadlineServiceException {    name = "InternalServerErrorException";    $fault = "server";    $retryable = {};    retryAfterSeconds;    constructor(opts) {        super({            name: "InternalServerErrorException",            $fault: "server",            ...opts,        });        Object.setPrototypeOf(this, InternalServerErrorException.prototype);        this.retryAfterSeconds = opts.retryAfterSeconds;    }}exports.InternalServerErrorException = InternalServerErrorException;class ResourceNotFoundException extends DeadlineServiceException_1.DeadlineServiceException {    name = "ResourceNotFoundException";    $fault = "client";    resourceId;    resourceType;    context;    constructor(opts) {        super({            name: "ResourceNotFoundException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ResourceNotFoundException.prototype);        this.resourceId = opts.resourceId;        this.resourceType = opts.resourceType;        this.context = opts.context;    }}exports.ResourceNotFoundException = ResourceNotFoundException;class ServiceQuotaExceededException extends DeadlineServiceException_1.DeadlineServiceException {    name = "ServiceQuotaExceededException";    $fault = "client";    reason;    resourceType;    serviceCode;    quotaCode;    resourceId;    context;    constructor(opts) {        super({            name: "ServiceQuotaExceededException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);        this.reason = opts.reason;        this.resourceType = opts.resourceType;        this.serviceCode = opts.serviceCode;        this.quotaCode = opts.quotaCode;        this.resourceId = opts.resourceId;        this.context = opts.context;    }}exports.ServiceQuotaExceededException = ServiceQuotaExceededException;class ThrottlingException extends DeadlineServiceException_1.DeadlineServiceException {    name = "ThrottlingException";    $fault = "client";    $retryable = {        throttling: true,    };    serviceCode;    quotaCode;    retryAfterSeconds;    context;    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;        this.context = opts.context;    }}exports.ThrottlingException = ThrottlingException;class ValidationException extends DeadlineServiceException_1.DeadlineServiceException {    name = "ValidationException";    $fault = "client";    reason;    fieldList;    context;    constructor(opts) {        super({            name: "ValidationException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ValidationException.prototype);        this.reason = opts.reason;        this.fieldList = opts.fieldList;        this.context = opts.context;    }}exports.ValidationException = ValidationException;class ConflictException extends DeadlineServiceException_1.DeadlineServiceException {    name = "ConflictException";    $fault = "client";    reason;    resourceId;    resourceType;    context;    constructor(opts) {        super({            name: "ConflictException",            $fault: "client",            ...opts,        });        Object.setPrototypeOf(this, ConflictException.prototype);        this.reason = opts.reason;        this.resourceId = opts.resourceId;        this.resourceType = opts.resourceType;        this.context = opts.context;    }}exports.ConflictException = ConflictException;