@minikit/errors
v0.1.1
Published
Rich JavaScript errors
Downloads
1
Readme
@minikit/errors
This module provides several classes in support of Joyent's. If you find any of the behavior here confusing or surprising, check out that document first.
- printf-style arguments for the message
- chains of causes
- properties to provide extra information about the error
- creating your own subclasses that support all of these
The classes here are:
- ApiError: a subclass of TError that adds a http api errno.
- SystemError: a subclass of TError that adds a system errno.