| 56 | |
| 57 | inline const char* ErrorMsg(SonicError error) noexcept { |
| 58 | struct SonicErrorInfo { |
| 59 | SonicError err; |
| 60 | const char* msg; |
| 61 | }; |
| 62 | static const SonicErrorInfo kErrorMsg[kErrorNums] = { |
| 63 | {kErrorNone, "No errors"}, |
| 64 | {kParseErrorEof, "Parse: JSON is empty or truncated."}, |
nothing calls this directly
no outgoing calls
no test coverage detected