Browse Source

Negate code as per node docs

Kevin Sawicki 8 years ago
parent
commit
5427ec4844
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/browser/rpc-server.js

+ 1 - 1
lib/browser/rpc-server.js

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