Rocky_Mountain_Vending/.pnpm-store/v10/files/c1/d69dd10bd77ab854da91420aa50e6c249e27957f25c4c648355262712a7540fa428651f33e18f6fe31a63842dc89215f9475e6c494100e6163bc6cf20c2b85
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

23 lines
No EOL
790 B
Text

// Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/**
* 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 class UserVisibleError extends Error {
message;
constructor(message) {
super(message);
this.message = message;
}
}
export function isUserVisibleError(error) {
if (typeof error === 'object' && error !== null) {
return error instanceof UserVisibleError;
}
return false;
}
//# sourceMappingURL=UserVisibleError.js.map