UNPKG

@getcronit/pylon

Version:

![Pylon cover](https://github.com/user-attachments/assets/c28e49b2-5672-4849-826e-8b2eab0360cc)

11 lines (10 loc) 414 B
export interface ErrorInfo { componentStack?: string | null; digest?: string; } export type ErrorType = 'caught' | 'uncaught' | 'recoverable' | 'identifier' | null; export interface ErrorCallbacks { onCaughtError?: (error: Error, errorInfo: ErrorInfo) => void; onUncaughtError?: (error: Error, errorInfo: ErrorInfo) => void; onRecoverableError?: (error: Error, errorInfo: ErrorInfo) => void; }