Skip to content

Commit

Permalink
Merge pull request #765 from Conflux-Chain/s37
Browse files Browse the repository at this point in the history
feat: add NFT related backend error message info
  • Loading branch information
0x74616e67 authored May 27, 2022
2 parents 947e181 + df02fee commit f447c29
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 33 deletions.
39 changes: 22 additions & 17 deletions src/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -1091,23 +1091,28 @@
"50404": "ContractNotFoundError",
"50600": "CompilerError",
"50601": "ContractDecompileError",
"20000": "Unknow error.",
"20001": "Response data parsing error.",
"20002": "Request timeout.",
"20003": "Request abort.",
"20004": "Network error.",
"30001": "RPC call error.",
"60002": "Trace parsing error.",
"400": "Bad request.",
"401": "Unauthorized.",
"403": "Forbidden.",
"404": "Not Found.",
"405": "Method Not Allowed.",
"500": "Internal Server Error.",
"501": "Not Implemented.",
"502": "Bad Gateway.",
"503": "Service Unavailable.",
"504": "Gateway Timeout."
"20000": "Unknow error",
"20001": "Response data parsing error",
"20002": "Request timeout",
"20003": "Request abort",
"20004": "Network error",
"30001": "RPC call error",
"60002": "Trace parsing error",
"50100": "Biz Error",
"50301": "Failed to call NFT contract",
"50302": "Failed to query NFT metadata",
"50303": "Failed to parse NFT metadata",
"50304": "Failed to query NFT local name",
"400": "Bad request",
"401": "Unauthorized",
"403": "Forbidden",
"404": "Not Found",
"405": "Method Not Allowed",
"500": "Internal Server Error",
"501": "Not Implemented",
"502": "Bad Gateway",
"503": "Service Unavailable",
"504": "Gateway Timeout"
}
},
"connnectWalletSubmit": "Submit",
Expand Down
37 changes: 21 additions & 16 deletions src/locales/zh_cn/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -1089,23 +1089,28 @@
"50404": "ContractNotFoundError",
"50600": "CompilerError",
"50601": "ContractDecompileError",
"20000": "未知错误",
"20001": "响应数据解析错误",
"20002": "请求超时",
"20003": "请求中止",
"20004": "网络连接错误",
"20000": "未知错误",
"20001": "响应数据解析错误",
"20002": "请求超时",
"20003": "请求中止",
"20004": "网络连接错误",
"30001": "RPC 请求错误",
"60002": "追溯数据解析错误。",
"400": "错误请求。",
"401": "未授权。",
"403": "服务器拒绝请求。",
"404": "未找到资源。",
"405": "方法禁用。",
"500": "服务器内部错误。",
"501": "服务器不支持请求的功能。",
"502": "网关错误。",
"503": "服务不可用。",
"504": "网关超时。"
"60002": "追溯数据解析错误",
"50100": "业务异常",
"50301": "调用 NFT 合约失败",
"50302": "查询 NFT 元数据失败",
"50303": "解析 NFT 元数据失败",
"50304": "查询 NFT name 失败",
"400": "错误请求",
"401": "未授权",
"403": "服务器拒绝请求",
"404": "未找到资源",
"405": "方法禁用",
"500": "服务器内部错误",
"501": "服务器不支持请求的功能",
"502": "网关错误",
"503": "服务不可用",
"504": "网关超时"
}
},
"connnectWalletSubmit": "提交",
Expand Down

0 comments on commit f447c29

Please sign in to comment.