Negate code as per node docs

This commit is contained in:
Kevin Sawicki 2016-11-17 10:22:29 -08:00
parent aef898ad93
commit 5427ec4844

View file

@ -142,7 +142,7 @@ const exceptionToMeta = function (error) {
const throwRPCError = function (message) { const throwRPCError = function (message) {
const error = new Error(message) const error = new Error(message)
error.code = 'EBADRPC' error.code = 'EBADRPC'
error.errno = 72 error.errno = -72
throw error throw error
} }