| 2431 | } |
| 2432 | |
| 2433 | void send_error(const server_task & task, const std::string & error, const enum error_type type = ERROR_TYPE_SERVER) { |
| 2434 | send_error(task.id, error, type); |
| 2435 | } |
| 2436 | |
| 2437 | void send_error(const server_slot & slot, const std::string & error, const enum error_type type = ERROR_TYPE_SERVER) { |
| 2438 | send_error(slot.id_task, error, type); |