RNS Library extends the Error class with two extra properties:
id - The knowledge base IDref - A link to the specific error within this pageKB000Message: Unknown error.
Description: Unknown error.
KB001Message: No addr resolution set
Description: The given domain has a resolver, but the resolution has not been set
KB002Message: No addr resolution
Description: The given domain has a resolver, but it does not support addr interface
KB003Message: No resolver
Description: The given domain doesn’t have a resolver set
KB004Message: Library not composed
Description: Thrown when trying to accesses rns.contracts before executing rns.compose()
KB005Message: No contract addresses provided
Description: Thrown when constructing lib on a local/custom RNS environment and contract addresses are not provided
KB006Message: No chain address resolution
Description: The given domain has a resolver, but the resolution for the given chain has not been set
KB007Message: No chain address resolution set
Description: The given domain has a resolver, but it does not support chainAddr interface
KB008Message: Search only domains
Description: -
KB009Message: Search only .rsk domains
Description: -
KB010Message: Invalid domain, must be alphanumeric and lower case
Description: -
KB011Message: Invalid label, must be alphanumeric and lower case
Description: -
KB012Message: The given domain does not exist
Description: -
KB013Message: No name resolution
Description: The given address has a reverse resolver, but it does not support name interface
KB014Message: No reverse resolution set
Description: The given address has not the reverse resolution set
KB015Message: There are no accounts to sign the transaction
Description: The web3 instance provided does not have a private key associated
KB016Message: The subdomain is not available
Description: The subdomain is already owned
KB017Message: The given address is invalid
Description: The given address has an invalid syntax.
KB018Message: The resolver does not implements setAddr method
Description: Domain resolver should implement setAddr interface.
KB019Message: 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.
KB020Message: The given TLD does not exist
Description: The domain provided is under a top level domain that does not exist in RNS.
KB021Message: 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.
KB022Message: No reverse registrar
Description: The owner of addr.reverse node has not been set. More information about reverse operations in Reverse Registar.
KB023Message: The reverse registrar does not implement setName method
Description: The owner of addr.reverse (Reverse Registrar) should implement setName method.
KB024Message: The resolver does not implement setChainAddr method
Description: Domain resolver should implement setChainAddr interface.
Go to top