/** * Error thrown when a parameter cannot be retrieved. * * You can use this error to catch and handle errors when getting a parameter, the `cause` property will contain the original error. */ declare class GetParameterError extends Error { constructor(message?: string, options?: ErrorOptions); } /** * Error thrown when a parameter is not found in the store. * * This error is thrown only when the `throwOnMissing` option is set to `true` and the * requested parameter does not exist (i.e. the store returned `null` or `undefined`). * * It extends {@link GetParameterError | `GetParameterError`}, so you can catch it with either * `instanceof ParameterNotFoundError` to handle a missing parameter specifically, or * `instanceof GetParameterError` to handle any retrieval failure. * * Unlike `GetParameterError`, this error has no `cause`: nothing failed, the parameter simply * does not exist. */ declare class ParameterNotFoundError extends GetParameterError { constructor(message?: string, options?: ErrorOptions); } /** * Error thrown when a parameter cannot be set. * * You can use this error to catch and handle errors when setting a parameter, the `cause` property will contain the original error. */ declare class SetParameterError extends Error { constructor(message?: string, options?: ErrorOptions); } /** * Error thrown when a transform fails. */ declare class TransformParameterError extends Error { constructor(transform: string, message: string); } export { GetParameterError, ParameterNotFoundError, SetParameterError, TransformParameterError, }; //# sourceMappingURL=errors.d.ts.map