UNPKG

@ipp/cli

Version:

An image build orchestrator for the modern web

11 lines (10 loc) 498 B
/** * Image Processing Pipeline - Copyright (c) Marcus Cemes * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import { Exception } from "@ipp/common"; import { Operator } from "../lib/stream/object_stream"; export declare type ExceptionFn = (exception: Exception) => void | Promise<void>; export declare function exceptionHandler<T>(outputPath: string, target?: string | ExceptionFn): Operator<T | Exception, T>;