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>
35 lines
1.6 KiB
Text
35 lines
1.6 KiB
Text
import { Event } from '../types-hoist/event';
|
|
import { StackFrame } from '../types-hoist/stackframe';
|
|
import { StackLineParser, StackParser } from '../types-hoist/stacktrace';
|
|
export declare const UNKNOWN_FUNCTION = "?";
|
|
/**
|
|
* Creates a stack parser with the supplied line parsers
|
|
*
|
|
* StackFrames are returned in the correct order for Sentry Exception
|
|
* frames and with Sentry SDK internal frames removed from the top and bottom
|
|
*
|
|
*/
|
|
export declare function createStackParser(...parsers: StackLineParser[]): StackParser;
|
|
/**
|
|
* Gets a stack parser implementation from Options.stackParser
|
|
* @see Options
|
|
*
|
|
* If options contains an array of line parsers, it is converted into a parser
|
|
*/
|
|
export declare function stackParserFromStackParserOptions(stackParser: StackParser | StackLineParser[]): StackParser;
|
|
/**
|
|
* Removes Sentry frames from the top and bottom of the stack if present and enforces a limit of max number of frames.
|
|
* Assumes stack input is ordered from top to bottom and returns the reverse representation so call site of the
|
|
* function that caused the crash is the last frame in the array.
|
|
* @hidden
|
|
*/
|
|
export declare function stripSentryFramesAndReverse(stack: ReadonlyArray<StackFrame>): StackFrame[];
|
|
/**
|
|
* Safely extract function name from itself
|
|
*/
|
|
export declare function getFunctionName(fn: unknown): string;
|
|
/**
|
|
* Get's stack frames from an event without needing to check for undefined properties.
|
|
*/
|
|
export declare function getFramesFromEvent(event: Event): StackFrame[] | undefined;
|
|
//# sourceMappingURL=stacktrace.d.ts.map
|