Rocky_Mountain_Vending/.pnpm-store/v10/files/70/2b8a94ff7c7c05ef1b358f2d9be41d31dd98442ad6360384a25d5d0466cc0ed77135ac69b69eecaa4cefe97d657f3182dca0f704fc3351218f282f5093aa0f
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

51 lines
No EOL
2.2 KiB
Text

/**
* Metadata about a captured exception, intended to provide a hint as to the means by which it was captured.
*/
export interface Mechanism {
/**
* For now, restricted to `onerror`, `onunhandledrejection` (both obvious), `instrument` (the result of
* auto-instrumentation), and `generic` (everything else). Converted to a tag on ingest.
*/
type: string;
/**
* In theory, whether or not the exception has been handled by the user. In practice, whether or not we see it before
* it hits the global error/rejection handlers, whether through explicit handling by the user or auto instrumentation.
* Converted to a tag on ingest and used in various ways in the UI.
*/
handled?: boolean;
/**
* Arbitrary data to be associated with the mechanism (for example, errors coming from event handlers include the
* handler name and the event target. Will show up in the UI directly above the stacktrace.
*/
data?: {
[key: string]: string | boolean;
};
/**
* True when `captureException` is called with anything other than an instance of `Error` (or, in the case of browser,
* an instance of `ErrorEvent`, `DOMError`, or `DOMException`). causing us to create a synthetic error in an attempt
* to recreate the stacktrace.
*/
synthetic?: boolean;
/**
* Describes the source of the exception, in the case that this is a derived (linked or aggregate) error.
*
* This should be populated with the name of the property where the exception was found on the parent exception.
* E.g. "cause", "errors[0]", "errors[1]"
*/
source?: string;
/**
* Indicates whether the exception is an `AggregateException`.
*/
is_exception_group?: boolean;
/**
* An identifier for the exception inside the `event.exception.values` array. This identifier is referenced to via the
* `parent_id` attribute to link and aggregate errors.
*/
exception_id?: number;
/**
* References another exception via the `exception_id` field to indicate that this exception is a child of that
* exception in the case of aggregate or linked errors.
*/
parent_id?: number;
}
//# sourceMappingURL=mechanism.d.ts.map