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>
31 lines
1.1 KiB
Text
31 lines
1.1 KiB
Text
import type { ProviderErrorOptionsType } from "./ProviderError";
|
|
import { ProviderError } from "./ProviderError";
|
|
/**
|
|
* @public
|
|
*
|
|
* An error representing a failure of an individual credential 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 CredentialsProviderError extends ProviderError {
|
|
name: string;
|
|
/**
|
|
* @override
|
|
* @deprecated constructor should be given a logger.
|
|
*/
|
|
constructor(message: string);
|
|
/**
|
|
* @override
|
|
* @deprecated constructor should be given a logger.
|
|
*/
|
|
constructor(message: string, tryNextLink: boolean | undefined);
|
|
/**
|
|
* @override
|
|
* This signature is preferred for logging capability.
|
|
*/
|
|
constructor(message: string, options: ProviderErrorOptionsType);
|
|
}
|