0.1.1 • Published 2 years ago

@minikit/errors v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 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

2 years ago

0.1.0

2 years ago

0.0.1

2 years ago