Use estimateGas error (as per updated implementation) (#4131)

* Use estimateGas error (as per updated implementation)

* EXCEPTION_ERROR as per #4142
This commit is contained in:
Jaco Greeff
2017-01-12 13:56:37 +01:00
committed by Nicolas Gotchac
parent 311730ea95
commit 389e4e3bc0
6 changed files with 33 additions and 5 deletions

View File

@@ -25,6 +25,7 @@ export const ERROR_CODES = {
UNKNOWN_ERROR: -32009,
TRANSACTION_ERROR: -32010,
EXECUTION_ERROR: -32015,
EXCEPTION_ERROR: -32016,
ACCOUNT_LOCKED: -32020,
PASSWORD_INVALID: -32021,
ACCOUNT_ERROR: -32023,