RNS JS Library - Error knowledge base
Handle errors with RNS library
RNS Library extends the
Error class with two extra properties:
id- The knowledge base ID
ref- A link to the specific error within this page
Message: Unknown error.
Description: Unknown error.
Message: No addr resolution set
Description: The given domain has a resolver, but the resolution has not been set
Message: No addr resolution
Description: The given domain has a resolver, but it does not support addr interface
Message: No resolver
Description: The given domain doesn't have a resolver set
Message: Library not composed
Description: Thrown when trying to accesses
rns.contracts before executing
Message: No contract addresses provided
Description: Thrown when constructing lib on a local/custom RNS environment and contract addresses are not provided
Message: No chain address resolution
Description: The given domain has a resolver, but the resolution for the given chain has not been set
Message: No chain address resolution set
Description: The given domain has a resolver, but it does not support chainAddr interface
Message: Search only domains
Message: Search only
Message: Invalid domain, must be alphanumeric and lower case
Message: Invalid label, must be alphanumeric and lower case
Message: The given domain does not exist
Message: No name resolution
Description: The given address has a reverse resolver, but it does not support name interface
Message: No reverse resolution set
Description: The given address has not the reverse resolution set
Message: There are no accounts to sign the transaction
Description: The web3 instance provided does not have a private key associated
Message: The subdomain is not available
Description: The subdomain is already owned
Message: The given address is invalid
Description: The given address has an invalid syntax.
Message: The resolver does not implements setAddr method
Description: Domain resolver should implement setAddr interface.
Message: The given address checksum is invalid
Description: The given address checksum is invalid for the current networkId. Check out EIP-1191 for information about how checksum validation is performed.
Message: The given TLD does not exist
Description: The domain provided is under a top level domain that does not exist in RNS.
Message: The owner of the TLD does not implement the available method
Description: The top level domain owner should be a contract that implements the available method.
Message: No reverse registrar
Description: The owner of
addr.reverse node has not been set. More information about reverse operations in Reverse Registar.
Message: The reverse registrar does not implement setName method
Description: The owner of
addr.reverse (Reverse Registrar) should implement
Message: The resolver does not implement setChainAddr method
Description: Domain resolver should implement
Message: The contenthash protocol is not supported
Description: The contenthash associated with the given domain could not be decoded because it has an invalid protocol. The
protocolType must be
Message: No contenthash resolution set
Description: The given domain has a supported resolver, but the contenthash for the given domain has not been set.
Message: No contenthash interface
Description: The resolver does not implement the contenthash interface.