Skip to content

ivangeorgiew/ropework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

327 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ropework

Work in progress.

Tips

The onCatch function should default to () => RETHROW.

If we want to handle on case by case basis, onCatch can be ({ error }) => error.
And then we write const result = triedFunc(); if (result instanceof Error) ...

In the other cases it depends and you should write custom code for the onCatch

About

Error-handling and other function utilities for better user and developer experience.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors