| 380 | std::string message_; |
| 381 | |
| 382 | void error(const json::json_pointer &ptr, const json &instance, const std::string &message) override |
| 383 | { |
| 384 | if (*this) |
| 385 | return; |
| 386 | error_ = true; |
| 387 | ptr_ = ptr; |
| 388 | instance_ = instance; |
| 389 | message_ = message; |
| 390 | } |
| 391 | |
| 392 | operator bool() const { return error_; } |
| 393 | }; |
no outgoing calls
no test coverage detected