Complete the Promise with an error (used by networking library)
| 192 | |
| 193 | /// Complete the Promise with an error (used by networking library) |
| 194 | bool complete_with_error(const Error& error) FL_NOEXCEPT { |
| 195 | if (!valid()) return false; |
| 196 | return mImpl->reject(error); |
| 197 | } |
| 198 | |
| 199 | bool complete_with_error(const fl::string& error_message) FL_NOEXCEPT { |
| 200 | if (!valid()) return false; |
no test coverage detected