Skip to main content

Errors

Summary

CodeNameSummary
2000InvalidAccountIdErrorWhen an account ID is invalid.
3000KeyNotAllowedErrorWhen a key is not allowed.
4000UnknownNetworkErrorWhen the network ID is not known.

InvalidAccountIdError

This error is thrown when an account is invalid.

Properties

NameTypeValueDescription
accountIdstring-The account ID that is invalid.
codenumber2000A canonical code for this error.
messagestring-A human readable message.

KeyNotAllowedError

This error is thrown when a key is not allowed, usually when an account has not been given access to the key.

Properties

NameTypeValueDescription
codenumber3000A canonical code for this error.
keystring-The key that is not allowed.
messagestring-A human readable message.

UnknownNetworkError

This error is thrown when initializing the SDK and the network ID supplied, is not known.

Properties

NameTypeValueDescription
codenumber4000A canonical code for this error.
messagestring-A human readable message.
networkIDstring-The network ID that is invalid.