Lines Matching refs:code
17 if (warning.code) assert.strictEqual(warning.code, testCode);
26 this.code = testCode;
38 [testMsg, { type: testType, code: testCode }],
39 [testMsg, { type: testType, code: testCode, detail: testDetail }],
42 [testMsg, { type: testType, code: testCode, detail: true }],
43 [testMsg, { type: testType, code: testCode, detail: [] }],
44 [testMsg, { type: testType, code: testCode, detail: null }],
45 [testMsg, { type: testType, code: testCode, detail: 1 }],
79 { code: 'ERR_INVALID_ARG_TYPE', name: 'TypeError' }