rubico
Version:
[a]synchronous functional programming
18 lines (17 loc) • 383 B
TypeScript
export = catcherApply;
/**
* @name catcherApply
*
* @synopsis
* ```coffeescript [specscript]
* catcherApply<
* args ...any,
* err Error|any,
* catcher (err, ...args)=>any,
* >(catcher, err, args) -> catcher(err, ...args)
* ```
*
* @description
* Apply an error and arguments to a catcher.
*/
declare function catcherApply(catcher: any, err: any, args: any): any;