Skip to content

Commit 174cbd2

Browse files
committed
Updated JSON RPC Error Codes Improvement Proposal (markdown)
1 parent dd0bfb0 commit 174cbd2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

JSON-RPC-Error-Codes-Improvement-Proposal.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ They will be contained in the `data` field of the RPC error message as follows:
4141
message: 'Execution error',
4242
data: [{
4343
code: 102,
44-
message: 'Innsufficient gas'
44+
message: 'Insufficient gas'
4545
},
4646
{
4747
code: 103,
@@ -53,7 +53,7 @@ They will be contained in the `data` field of the RPC error message as follows:
5353
| Code | Possible Return message | Description |
5454
| --------|-------------------------|-------------|
5555
|100 | X doesn't exist | Should be used when something which should be there is not found. (Doesn't apply to eth_getTransactionBy* and eth_getBlock*. They return a success with value `null`)
56-
|101 | Requires ether | Should be used for actions which require somethin else, e.g. gas or a value.
56+
|101 | Requires ether | Should be used for actions which require something else, e.g. gas or a value.
5757
|102 | Gas too low | Should be used when a to low value of gas was given.
5858
|103 | Gas limit exceeded | Should be used when a limit is exceeded, e.g. for the gas limit in a block.
5959
|104 | Rejected | Should be used when an action was rejected, e.g. because of its content (too long contract code, containing wrong characters ?, should differ from `-32602` - Invalid params).
@@ -64,5 +64,5 @@ They will be contained in the `data` field of the RPC error message as follows:
6464

6565
| Code | Possible Return message | Description |
6666
| --------|-------------------------|-------------|
67-
|106 | Timeout | Should be used when an action timedout.
67+
|106 | Timeout | Should be used when an action timed out.
6868
|107 | Conflict | Should be used when an action conflicts with another (ongoing?) action.

0 commit comments

Comments
 (0)