Rocky_Mountain_Vending/.pnpm-store/v10/files/af/6efe071d2657d6fa5cd9b87f7e100554a57f3008c7e4cd57e4aa14e6c9df813dc719b81a8665d68b28a9aae374b28327ac902d66e3e59531202122b5b5bf70
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

39 lines
1.3 KiB
Text

import { Logger } from "@smithy/types";
/**
* @public
*/
export type ProviderErrorOptionsType = {
tryNextLink?: boolean | undefined;
logger?: Logger;
};
/**
* @public
*
* An error representing a failure of an individual provider.
*
* This error class has special meaning to the {@link chain} method. If a
* provider in the chain is rejected with an error, the chain will only proceed
* to the next provider if the value of the `tryNextLink` property on the error
* is truthy. This allows individual providers to halt the chain and also
* ensures the chain will stop if an entirely unexpected error is encountered.
*/
export declare class ProviderError extends Error {
name: string;
readonly tryNextLink: boolean;
/**
* @deprecated constructor should be given a logger.
*/
constructor(message: string);
/**
* @deprecated constructor should be given a logger.
*/
constructor(message: string, tryNextLink: boolean | undefined);
/**
* This signature is preferred for logging capability.
*/
constructor(message: string, options: ProviderErrorOptionsType);
/**
* @deprecated use new operator.
*/
static from(error: Error, options?: boolean | ProviderErrorOptionsType): ProviderError;
}