ruvnet/ruflo · error · GtBridgeError
NETWORK_ERROR
NETWORK_ERROR
Error message
result.error ?? 'Failed to get network status'
What it means
getNetworkStatus() ran 'gt network status' and the bridge returned failure or empty data. The NETWORK_ERROR wrapper surfaces the underlying error (or the generic message) together with the exact args; typically an unreachable network endpoint or bad network name.
Source
Thrown at v3/plugins/gastown-bridge/src/bridges/gt-bridge.ts:661
}
/**
* Get network status
*/
async getNetworkStatus(network?: z.infer<typeof NetworkSchema>): Promise<NetworkStatus> {
this.ensureInitialized();
const args = [
'network',
'status',
'--network',
network ?? this.config.defaultNetwork,
'--json',
];
const result = await this.execGt(args);
if (!result.success || !result.data) {
throw new GtBridgeError(
result.error ?? 'Failed to get network status',
'NETWORK_ERROR',
'gt',
args
);
}
return this.parseGtOutput<NetworkStatus>(result.data);
}
/**
* Get current gas price
*/
async getGasPrice(network?: z.infer<typeof NetworkSchema>): Promise<{
gasPrice: string;
maxFeePerGas?: string;
maxPriorityFeePerGas?: string;
baseFee?: string;View on GitHub (pinned to fa13ee4ad6)
Solutions
- Inspect the underlying cause in logs, fix the root issue, and retry the operation.
- Validate inputs and preconditions before invoking this code path so the error is avoided.
Defensive patterns
Strategy: try-catch
When it happens
Trigger: Thrown at v3/plugins/gastown-bridge/src/bridges/gt-bridge.ts:661 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of ruvnet/ruflo@fa13ee4ad6 (2026-08-18).
Data as JSON: /api/errors/5d5a8c6da9df9282.
Report an issue: GitHub.