10 lines
401 B
C++
10 lines
401 B
C++
|
|
||
|
#include <unordered_map>
|
||
|
#include "DiagnosticCode.hpp"
|
||
|
|
||
|
namespace Porygon::Diagnostics {
|
||
|
const std::unordered_map<DiagnosticCode, const char*> ErrorMessages{ // NOLINT(cert-err58-cpp)
|
||
|
{DiagnosticCode ::UnexpectedCharacter, "Encountered an unexpected character: '{0}'."},
|
||
|
{DiagnosticCode ::InvalidStringControlCharacter, "'{0}' is not a valid control character."},
|
||
|
};
|
||
|
}
|