| 627 | } |
| 628 | |
| 629 | struct command_result *forward_error(struct command *cmd, |
| 630 | const char *method, |
| 631 | const char *buf, |
| 632 | const jsmntok_t *error, |
| 633 | void *arg UNNEEDED) |
| 634 | { |
| 635 | /* Push through any errors. */ |
| 636 | return command_done_raw(cmd, "error", |
| 637 | buf + error->start, error->end - error->start); |
| 638 | } |
| 639 | |
| 640 | struct command_result *forward_result(struct command *cmd, |
| 641 | const char *method, |
no test coverage detected