npm 包搜索

搜索 npm 上的 JavaScript 依赖包

搜索 "exception" 的结果(共 5 个)
tryor

return fn() or default value (in case of exception)

breakable

Break out of functions, recursive or not, in a more composable way than by using exceptions explicitly. Non-local return.

MIT
@poppinss/exception

Utility to create custom exceptions

MIT
domexception

An implementation of the DOMException class from browsers

MIT
node-exceptions

Extendable error class for nodejs to extend native errors

MIT