Welcome to mirror list, hosted at ThFree Co, Russian Federation.

throw_non_error.js « message « test - github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7a23908eece8945f024e167a108cdcb3a87ebd6c (plain)
1
2
3
4
5
6
'use strict';
require('../common');

// custom error throwing
// eslint-disable-next-line no-throw-literal
throw ({ foo: 'bar' });