0.1.1 • Published 3 years ago

@minikit/errors v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

@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.
0.1.1

3 years ago

0.1.0

3 years ago

0.0.1

3 years ago