New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@cuties/error

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cuties/error

Cutie extension for error module in Node.

Source
npmnpm
Version
1.0.5
Version published
Maintainers
1
Created
Source

cutie-error

NPM Version

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.

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 ObjectAsync/sync callParameters(default value/description)Representation result
CapturedStackTraceError.captureStackTracetargetObject, constructorOpttargetObject
Errnoerror.errnoerrorstring|number
ErrorAddresserror.addresserrorstring
ErrorCodeerror.codeerrorstring
ErrorMessageerror.messageerrorstring
ErrorPatherror.patherrorstring
ErrorPorterror.porterrornumber
ErrorStackerror.stackerrorstring
ErrorSyscallerror.syscallerrorstring
SetStackTraceLimitError.stackTraceLimitnumnum
StackTraceLimitError.stackTraceLimitnum

Keywords

cutie

FAQs

Package last updated on 27 Aug 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts