NetworkError
Defined in: table.ts:68
Thrown by NetworksTable writes: a built-in network cannot be removed or replaced, the
network is unknown, a URL breaks the policy, the network is invalid, or the last RPC of a custom
network would be removed; and by the sync endpoint readers before load() (not-loaded).
Extends
Section titled “Extends”Error
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new NetworkError(
code,message,reason?):NetworkError
Defined in: table.ts:69
Parameters
Section titled “Parameters”"builtin" | "unknown-network" | "url-policy" | "bad-network" | "last-rpc" | "not-loaded"
message
Section titled “message”string
reason?
Section titled “reason?”Returns
Section titled “Returns”NetworkError
Overrides
Section titled “Overrides”Error.constructor
Properties
Section titled “Properties”
readonlycode:"builtin"|"unknown-network"|"url-policy"|"bad-network"|"last-rpc"|"not-loaded"
Defined in: table.ts:69
reason?
Section titled “reason?”
readonlyoptionalreason?:UrlPolicyReason
Defined in: table.ts:69