Cluedo Solver
v1.0
Cluedo game solver making deductions.
Loading...
Searching...
No Matches
Error.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <string_view>
4
7
8
namespace
Cluedo {
9
12
#define _ENUMERATE_ERRORS \
13
_ENUMERATE_ERROR(InvalidNumberOfPlayers) \
14
_ENUMERATE_ERROR(InvalidNumberOfCards) \
15
_ENUMERATE_ERROR(InvalidInformation)
16
19
enum class
Error
{
20
#define _ENUMERATE_ERROR(x) x,
21
_ENUMERATE_ERRORS
22
#undef _ENUMERATE_ERROR
23
};
24
29
std::string_view format_as(Error error);
30
31
}
Cluedo::Error
Error
Definition
Error.hpp:19
src
Error.hpp
Generated by
1.13.2