| 637 | } |
| 638 | |
| 639 | struct command_result *forward_error(struct command *cmd, |
| 640 | const char *method, |
| 641 | const char *buf, |
| 642 | const jsmntok_t *error, |
| 643 | void *arg UNNEEDED) |
| 644 | { |
| 645 | /* Push through any errors. */ |
| 646 | return command_done_raw(cmd, "error", |
| 647 | buf + error->start, error->end - error->start); |
| 648 | } |
| 649 | |
| 650 | struct command_result *forward_result(struct command *cmd, |
| 651 | const char *method, |
no test coverage detected