import type { HTMLString } from '../types/dom'; import { MaybeFuture } from '../types/futures'; /** * An error-catcher sink that displays a custom message when the underlying stream errors * @param stream The original data or source stream * @param handler A function that takes an error and returns a message * @returns RMLTemplateExpression A template expression for the "innerHTML" attribute * @example
${Catch(contentStream)}"> * @example */ export declare const Catch: (stream: MaybeFuture, handler: (e: Error) => HTMLString | string | number) => any; //# sourceMappingURL=error-sink.d.ts.map