1 2 3 4 5 6
var verror = require('../lib/verror'); var opname = 'read'; var err = new verror.VError('"%s" operation failed', opname); console.log(err.message); console.log(err.stack);