| 802 | }; |
| 803 | |
| 804 | class json_error : public std::runtime_error |
| 805 | { |
| 806 | public: |
| 807 | json_error(std::string const& message, |
| 808 | cm::optional<Args> errorPath = cm::nullopt) |
| 809 | : std::runtime_error(message) |
| 810 | , ErrorPath{ |
| 811 | std::move(errorPath) // NOLINT(performance-move-const-arg) |
| 812 | } |
| 813 | { |
| 814 | } |
| 815 | cm::optional<Args> ErrorPath; |
| 816 | }; |
| 817 | |
| 818 | std::string const& Args::PopFront(cm::string_view error) |
| 819 | { |
no outgoing calls
no test coverage detected
searching dependent graphs…