Rocky_Mountain_Vending/.pnpm-store/v10/files/8a/8647a481f74ceb4abbfcb6ba847f139090dba16a0ceb147a83751099c2434523be87a1bd6e5b926375544e39760ecc445d2b99db513d51e97cb3960dd94b98
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

30 lines
972 B
Text

import { createErrorClass } from './createErrorClass';
export interface UnsubscriptionError extends Error {
readonly errors: any[];
}
export interface UnsubscriptionErrorCtor {
/**
* @deprecated Internal implementation detail. Do not construct error instances.
* Cannot be tagged as internal: https://github.com/ReactiveX/rxjs/issues/6269
*/
new (errors: any[]): UnsubscriptionError;
}
/**
* An error thrown when one or more errors have occurred during the
* `unsubscribe` of a {@link Subscription}.
*/
export const UnsubscriptionError: UnsubscriptionErrorCtor = createErrorClass(
(_super) =>
function UnsubscriptionErrorImpl(this: any, errors: (Error | string)[]) {
_super(this);
this.message = errors
? `${errors.length} errors occurred during unsubscription:
${errors.map((err, i) => `${i + 1}) ${err.toString()}`).join('\n ')}`
: '';
this.name = 'UnsubscriptionError';
this.errors = errors;
}
);