UNPKG

unified-error-handling

Version:

A lightweight, zero-dependency error handling library with dynamic adapter loading for multiple error tracking services

9 lines 905 B
export { errorStore, initialize, captureError, captureMessage, setUser, setContext, addBreadcrumb, clearBreadcrumbs, useAdapter, removeAdapter, flush, reset, subscribe, registerAdapter, } from './store/error-store'; export type { ErrorStore, ErrorStoreState, ErrorStoreActions, ErrorStoreConfig, ErrorContext, UserContext, DeviceContext, Breadcrumb, NormalizedError, ErrorAdapter, ErrorListener, StorageAdapter, ErrorLevel, } from './store/types'; export { createCustomAdapter, type CustomAdapterConfig, } from './adapters/custom-adapter'; export { SentryAdapter } from './adapters/sentry-adapter'; export { FirebaseAdapter } from './adapters/firebase-adapter'; export { CustomAdapter } from './adapters/custom-adapter'; import { type CustomAdapterConfig as CAC } from './adapters/custom-adapter'; export declare function createAdapter(name: string, config: CAC): void; //# sourceMappingURL=index.d.ts.map