{"record":{"id":"5d5a8c6da9df9282","repo":"ruvnet/ruflo","slug":"network-error","errorCode":"NETWORK_ERROR","errorMessage":"result.error ?? 'Failed to get network status'","messagePattern":"result\\.error \\?\\? 'Failed to get network status'","errorType":"exception","errorClass":"GtBridgeError","httpStatus":null,"severity":"error","filePath":"v3/plugins/gastown-bridge/src/bridges/gt-bridge.ts","lineNumber":661,"sourceCode":"  }\n\n  /**\n   * Get network status\n   */\n  async getNetworkStatus(network?: z.infer<typeof NetworkSchema>): Promise<NetworkStatus> {\n    this.ensureInitialized();\n\n    const args = [\n      'network',\n      'status',\n      '--network',\n      network ?? this.config.defaultNetwork,\n      '--json',\n    ];\n\n    const result = await this.execGt(args);\n    if (!result.success || !result.data) {\n      throw new GtBridgeError(\n        result.error ?? 'Failed to get network status',\n        'NETWORK_ERROR',\n        'gt',\n        args\n      );\n    }\n\n    return this.parseGtOutput<NetworkStatus>(result.data);\n  }\n\n  /**\n   * Get current gas price\n   */\n  async getGasPrice(network?: z.infer<typeof NetworkSchema>): Promise<{\n    gasPrice: string;\n    maxFeePerGas?: string;\n    maxPriorityFeePerGas?: string;\n    baseFee?: string;","sourceCodeStart":643,"sourceCodeEnd":679,"githubUrl":"https://github.com/ruvnet/ruflo/blob/fa13ee4ad60ac2090b1480656eb233521790d640/v3/plugins/gastown-bridge/src/bridges/gt-bridge.ts#L643-L679","documentation":"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.","triggerScenarios":"Thrown at v3/plugins/gastown-bridge/src/bridges/gt-bridge.ts:661 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","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."],"exampleFix":null,"handlingStrategy":"try-catch","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"fa13ee4ad60ac2090b1480656eb233521790d640","analyzedAt":"2026-08-18T21:34:22.708Z","contentChangedAt":"2026-08-18T21:34:22.708Z","schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}