| 81 | } |
| 82 | |
| 83 | Json formatFatalError(Error::Type _type, std::string const& _message) |
| 84 | { |
| 85 | Json output; |
| 86 | output["errors"] = Json::array(); |
| 87 | output["errors"].emplace_back(formatError(_type, "general", _message)); |
| 88 | return output; |
| 89 | } |
| 90 | |
| 91 | Json formatSourceLocation(SourceLocation const* location) |
| 92 | { |
no test coverage detected