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>
12 lines
535 B
Text
12 lines
535 B
Text
import type { LocalizedString } from './UIString.js';
|
|
/**
|
|
* Represents an error that might become visible to the user. Where errors
|
|
* might be surfaced to the user (such as by displaying the message to the
|
|
* console), this class should be used to enforce that the message is
|
|
* localized on the way in.
|
|
*/
|
|
export declare class UserVisibleError extends Error {
|
|
readonly message: LocalizedString;
|
|
constructor(message: LocalizedString);
|
|
}
|
|
export declare function isUserVisibleError(error: unknown): error is UserVisibleError;
|