apr-intercept

3.0.4 • Public • Published

intercept

Intercepts errors, the Go way!

Parameters

Examples

import ctch from 'apr-intercept';
 
const [err1, res1] = await ctch(fn(1));
const [err2, res2] = await ctch(fn(1));
const [, res3] = await ctch(fn(3));

Returns Promise

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 3.0.4
    3,560
    • latest

Version History

Package Sidebar

Install

npm i apr-intercept

Weekly Downloads

1,398

Version

3.0.4

License

MIT

Unpacked Size

12.2 kB

Total Files

8

Last publish

Collaborators

  • ramitos