20 lines
236 B
C++
20 lines
236 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
|
|
namespace fesa::core {
|
|
|
|
enum class Severity {
|
|
info,
|
|
warning,
|
|
error
|
|
};
|
|
|
|
struct Diagnostic {
|
|
Severity severity;
|
|
std::string code;
|
|
std::string message;
|
|
};
|
|
|
|
} // namespace fesa::core
|