Errors
The NEO dAPI will provide these basic errors. It is up to the wallet provider to provide additional information if they choose:
Error Type
Meaning
NO_PROVIDER
Thrown when there is no interface capable of interacting with NEO blockchain
CONNECTION_DENIED
Thrown when API provider refuses to execute a transaction (e.g. trying to execute a transaction on an unavialable network)
RPC_ERROR
Thrown when a command relying on RPC connection to a network node fails
MALFORMED_INPUT
Thrown when an input such as the address is not a valid NEO address
CANCELED
Thrown when a user cancels, or refuses the dapps request
INSUFFICIENT_FUNDS
Thrown when the action does not have a sufficient balance
FAIL
The request failed
最后更新于
这有帮助吗?