UNPKG

core-native

Version:

A lightweight framework based on React Native + Redux + Redux Saga, in strict TypeScript.

12 lines 576 B
import { Exception } from "../Exception"; import { type ErrorHandler } from "../module"; interface ErrorExtra { severity?: "fatal"; actionPayload?: string; extraStacktrace?: string; } export declare function errorToException(error: unknown): Exception; export declare function captureError(error: unknown, action: string, extra?: ErrorExtra): Exception; export declare function runUserErrorHandler(handler: ErrorHandler, exception: Exception): Generator<import("redux-saga/effects").StrictEffect, void, unknown>; export {}; //# sourceMappingURL=error-util.d.ts.map