UNPKG

@adobe/pdfservices-node-sdk

Version:

The Adobe PDF Services Node.js SDK provides APIs for creating, combining, exporting and manipulating PDFs.

34 lines 2.22 kB
"use strict"; /* * Copyright 2024 Adobe * All Rights Reserved. * * NOTICE: Adobe permits you to use, modify, and distribute this file in * accordance with the terms of the Adobe license agreement accompanying * it. If you have received this file from a source other than Adobe, * then your use, modification, or distribution of it requires the prior * written permission of Adobe. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.CustomErrorMessages = void 0; class CustomErrorMessages { } exports.CustomErrorMessages = CustomErrorMessages; CustomErrorMessages.GENERIC_CAN_NOT_BE_NULL = "can not be null"; CustomErrorMessages.GENERIC_CAN_NOT_BE_UNDEFINED_OR_NULL = "can not be undefined or null"; CustomErrorMessages.GENERIC_CAN_NOT_BE_NULL_OR_EMPTY = "can not be null or empty"; CustomErrorMessages.SET_OUTPUT_VALIDATE = "External assets can be set as output only when input is external asset as well"; CustomErrorMessages.SET_SEAL_ASSET_VALIDATE = "Seal image asset and input document asset must be of the same type (internal or external)"; CustomErrorMessages.SERVICE_UNAVAILABLE = "The Gateway servers are up, but overloaded with requests. " + "Try again later."; CustomErrorMessages.GATEWAY_TIMEOUT = "The Gateway servers are up, but the request couldn't be serviced due to some failure within our stack. Try again later."; CustomErrorMessages.BAD_GATEWAY = "Bad Gateway."; CustomErrorMessages.UNKNOWN_ERROR = "Unknown Error. No root cause available for the same"; CustomErrorMessages.REQUEST_ENTITY_LARGE = "Request entity too large"; CustomErrorMessages.PROXY_AUTH_FAILED = "Proxy server authentication failed for the request"; CustomErrorMessages.GENERIC_VALID_NUMBER = "must be a valid number"; CustomErrorMessages.GENERIC_VALID_NON_NEGATIVE_NUMBER = "must be a valid number >= 0"; CustomErrorMessages.GENERIC_VALID_POSITIVE_NUMBER = "must be a valid number greater than 0"; CustomErrorMessages.GENERIC_VALID_INTEGER = "must be a valid integer"; CustomErrorMessages.GENERIC_VALID_NON_NEGATIVE_INTEGER = "must be a valid integer >= 0"; CustomErrorMessages.GENERIC_VALID_POSITIVE_INTEGER = "must be a valid integer greater than 0"; //# sourceMappingURL=CustomErrorMessages.js.map