UNPKG

videokitten

Version:

A cross-platform Node.js library for recording videos from iOS simulators and Android devices/emulators

10 lines 507 B
import type { OnErrorHandler } from '../options'; /** * Handles errors based on the provided error handler strategy * @param handler - The error handling strategy ('throw', 'ignore', or a function) * @param error - The error to handle * @param result - The result to return when not throwing * @returns The result if not throwing, otherwise throws the error */ export declare function doHandleError(handler: OnErrorHandler | undefined, error: Error): void; //# sourceMappingURL=error-handling.d.ts.map