(stackParser: StackParser, error: Error)
| 16 | * Extracts stack frames from the error.stack string |
| 17 | */ |
| 18 | export function parseStackFrames(stackParser: StackParser, error: Error): StackFrame[] { |
| 19 | return stackParser(error.stack || '', 1); |
| 20 | } |
| 21 | |
| 22 | function hasSentryFetchUrlHost(error: unknown): error is Error & { __sentry_fetch_url_host__: string } { |
| 23 | return isError(error) && '__sentry_fetch_url_host__' in error && typeof error.__sentry_fetch_url_host__ === 'string'; |
no outgoing calls
no test coverage detected