Documentation for agents: an index at /llms.txt, every docs page in one file at /llms-full.txt, and Markdown for any docs page by adding .md to its URL.

Skip to Content
ensforge

RPC_TIMEOUT

What RPC_TIMEOUT means, why NetworkError throws it, what to show users and how to fix it in ensforge. Also covers retry safety and the actions that throw it.

NetworkErrorRetryable
@ensforge/sdk

What happened

The RPC request timed out.

What to show users

TitleMessageAction
Network slowThe network took too long to respond.Try again.

Retry safety

Retrying the same call can succeed (retryable: true).

Actions that throw it

ActionWhen
approval.getDelegatewhen the RPC request fails.
approval.getOperatorwhen the RPC request fails.
approval.getTokenwhen the RPC request fails.
dns.getOffchainResolverwhen the RPC request fails.
dns.getProofwhen the RPC request fails.
dns.getRecordswhen the RPC request fails.
dns.getStatuswhen the RPC request fails.
event.decodewhen the RPC request fails.
event.getwhen the RPC request fails.
migration.getwhen the RPC request fails.
name.getwhen the RPC request fails.
name.getLabelwhen the RPC request fails.
permission.checkwhen the RPC request fails.
permission.getwhen the RPC request fails.
plan.getwhen the RPC request fails.
plan.listwhen the RPC request fails.
plan.reconcilewhen the RPC request fails.
primaryName.getwhen the RPC request fails.
record.getwhen the RPC request fails.
record.getAddresswhen the RPC request fails.
record.getAvatarwhen the RPC request fails.
record.getContentHashwhen the RPC request fails.
record.getTextwhen the RPC request fails.
registration.getCommitmentStatuswhen the RPC request fails.
registration.getParameterswhen the RPC request fails.
registration.getPricewhen the RPC request fails.
registration.getRenewalPricewhen the RPC request fails.
registration.isAvailablewhen the RPC request fails.
registry.getwhen the RPC request fails.
resolver.getwhen the RPC request fails.
resolver.getLinkwhen the RPC request fails.
role.getwhen the RPC request fails.
wrapper.getFuseswhen the RPC request fails.

Any action can fail with NetworkError: it is part of Errors.CommonError.

Catch it

Errors.hasCode("RPC_TIMEOUT") narrows to this error. See Handle errors.

Was this page helpful?