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
8namespace Cluedo {
9
12#define _ENUMERATE_ERRORS \
13 _ENUMERATE_ERROR(InvalidNumberOfPlayers) \
14 _ENUMERATE_ERROR(InvalidNumberOfCards) \
15 _ENUMERATE_ERROR(InvalidInformation)
16
19enum class Error {
20#define _ENUMERATE_ERROR(x) x,
21 _ENUMERATE_ERRORS
22#undef _ENUMERATE_ERROR
23};
24
29std::string_view format_as(Error error);
30
31}
Error
Definition Error.hpp:19