@cuties/error
Cutie extension for error module in Node.
Last updated a year ago by guseyn .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @cuties/error 
SYNC missed versions from official npm registry.

cutie-error

NPM Version Build Status codecov

Cutie extension for error module in Node. It's based on the Async Tree Pattern.

Examples

You can find examples of using this library in the test directory.

Install

npm install @cuties/error

Run test

npm test

Run build

npm run build

Usage

const {
  // Needed async objects here from the table below
} = require('@cuties/error');

For more information about parameters in the async objects visit docs of Node for error module.

Async Object Async/sync call Parameters(default value/description) Representation result
CapturedStackTrace Error.captureStackTrace targetObject, constructorOpt targetObject
Errno error.errno error string\|number
ErrorAddress error.address error string
ErrorCode error.code error string
ErrorMessage error.message error string
ErrorPath error.path error string
ErrorPort error.port error number
ErrorStack error.stack error string
ErrorSyscall error.syscall error string
SetStackTraceLimit Error.stackTraceLimit num num
StackTraceLimit Error.stackTraceLimit num
ThrownError throw error

Current Tags

  • 1.1.4                                ...           latest (a year ago)

11 Versions

  • 1.1.4                                ...           a year ago
  • 1.1.3                                ...           a year ago
  • 1.1.1                                ...           2 years ago
  • 1.1.0                                ...           2 years ago
  • 1.0.11                                ...           2 years ago
  • 1.0.10                                ...           2 years ago
  • 1.0.9                                ...           2 years ago
  • 1.0.8                                ...           2 years ago
  • 1.0.7                                ...           2 years ago
  • 1.0.6                                ...           2 years ago
  • 1.0.5                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (5)
Dev Dependencies (6)
Dependents (2)

Copyright 2014 - 2017 © taobao.org |