UNPKG

@rockpack/logger

Version:

This module can help you build error tracking & crash reporting system for your React application.

6 lines (5 loc) 401 B
import LimitedArray from 'limited-array'; import { Stack, PropsUtils, Action } from './types'; declare const getStackData: (stack: Stack, stackCollection: LimitedArray<Action>, props: PropsUtils) => Stack; declare const onCriticalError: (stack: Stack, stackCollection: LimitedArray<Action>, props: PropsUtils, trace: Error, lineNumber: number) => Stack; export { getStackData, onCriticalError };