Lines Matching full:errno
4 , errno = require('./') variable
7 t.ok(errno.all, 'errno.all not found')
8 t.ok(errno.errno, 'errno.errno not found')
9 t.ok(errno.code, 'errno.code not found')
11 t.equal(errno.all.length, 60, 'found ' + errno.all.length + ', expected 60')
12 t.equal(errno.errno['-1'], errno.all[1], 'errno -1 not second element')
14 t.equal(errno.code['UNKNOWN'], errno.all[1], 'code UNKNOWN not second element')
16 t.equal(errno.errno[1], errno.all[3], 'errno 1 not fourth element')
18 t.equal(errno.code['EOF'], errno.all[3], 'code EOF not fourth element')
23 const Cust = errno.create('FooNotBarError')
34 const MyError = errno.create('MyError')
58 const MyError2 = errno.create('MyError2', MyError)
63 const CustomError = errno.custom.CustomError
76 const Cust = errno.create('WriteError')