Lines Matching refs:errno
1 # node-errno
3 …ps://nodejs.org)/[io.js](https://iojs.org) error handling & reporting. Available in npm as *errno*.
5 [![npm](https://img.shields.io/npm/v/errno.svg)](https://www.npmjs.com/package/errno)
6 …ild Status](https://secure.travis-ci.org/rvagg/node-errno.png)](http://travis-ci.org/rvagg/node-er…
7 [![npm](https://img.shields.io/npm/dm/errno.svg)](https://www.npmjs.com/package/errno)
9 * [errno exposed](#errnoexposed)
13 ## errno exposed
15 …elf needing more details about Node.js errors? Me too, so *node-errno* contains the errno mappings…
17 **By errno:**
20 require('errno').errno[3]
22 // "errno": 3,
31 require('errno').code.ENOTEMPTY
33 // "errno": 53,
42 var errno = require('errno')
46 // if it's a libuv error then get the description from errno
47 if (errno.errno[err.errno])
48 str += errno.errno[err.errno].description
70 ~ $ errno 53
72 "errno": 53,
76 ~ $ errno EROFS
78 "errno": 56,
82 ~ $ errno foo
83 No such errno/code: "foo"
88 You will need to install with `npm install errno -g` if you want the `errno` command to be availabl…
93 Use `errno.custom.createError()` to create custom `Error` objects to throw around in your Node.js l…
96 var create = require('errno').custom.createError
107 Also available is a `errno.custom.FilesystemError` with in-built access to errno properties:
111 if (err) return callback(new errno.custom.FilesystemError(err))
116 … passed through the callback will have the following properties: `code`, `errno`, `path` and `mess…