()
| 264 | } |
| 265 | |
| 266 | func (e *RPCStatusError) Error() string { |
| 267 | if e == nil { |
| 268 | return "" |
| 269 | } |
| 270 | if e.Message != "" { |
| 271 | return e.Message |
| 272 | } |
| 273 | if e.Code != "" { |
| 274 | return e.Code |
| 275 | } |
| 276 | return "openclaw rpc error" |
| 277 | } |
| 278 | |
| 279 | type RPCResult struct { |
| 280 | ReqID string |
no outgoing calls
no test coverage detected