| 113 | // Error Reporting |
| 114 | |
| 115 | void Remote::reportError(const fl::string& message) { |
| 116 | fl::json params = fl::json::object(); |
| 117 | params.set("message", message); |
| 118 | reportError(params); |
| 119 | } |
| 120 | |
| 121 | void Remote::reportError(const fl::json& data) { |
| 122 | if (!mResponseSink) { |