Skip to content

Commit

Permalink
add error code (#854)
Browse files Browse the repository at this point in the history
  • Loading branch information
chaychen2005 committed Jun 10, 2020
1 parent e1f6300 commit c779753
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1299,6 +1299,9 @@ FISCO BCOS RPC接口错误码及其对应的含义如下:
| 24(0x18) | AddressAlreadyUsed | 地址占用异常 |
| 25(0x19) | PermissionDenied | 无权限异常 |
| 26(0x1a) | CallAddressError | 被调用的合约地址不存在 |
| 30(0x1e) | ContractFrozen | 合约被冻结 |
| 31(0x1f) | AccountFrozen | 账号被冻结 |


### Precompiled Service API 错误码

Expand Down
2 changes: 2 additions & 0 deletions en/docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1301,6 +1301,8 @@ FISCO BCOS RPC error codes and their corresponding meanings are as follows:
|24(0x18) |AddressAlreadyUsed |address is already used |
|25(0x19) |PermissionDenied |no permission |
|26(0x1a) |CallAddressError contract address not exist ||
|30(0x1e) |ContractFrozen | contract has been frozen |
|31(0x1f) |AccountFrozen | account has been frozen |


### Precompiled Service API error code
Expand Down

0 comments on commit c779753

Please sign in to comment.