Skip to content

mk-pmb/augnerr-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

augnerr

Augment Node.js errors: Make some errors more helpful.

API

This module exports one function that has some methods:

augmentError(err)

Augments err, in-place if possible. Returns the augmented error.

augmentError.re(err)

("re-throw")

Throws the augmented error.

Augmentations

File system errors

  • If .path is relative, add the current working directory as .cwd.

Known issues

  • Needs more/better tests and docs.

 

License

ISC

About

Augment Node.js errors: Make some errors more helpful.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published