26 lines
374 B
C++
26 lines
374 B
C++
//
|
|
// Created by moonleay on 12/17/24.
|
|
//
|
|
|
|
#ifndef MALFORMEDMAZE_H
|
|
#define MALFORMEDMAZE_H
|
|
|
|
namespace game_exceptions
|
|
{
|
|
class MalformedMaze
|
|
{
|
|
string why;
|
|
|
|
public:
|
|
MalformedMaze(string why): why(why)
|
|
{
|
|
}
|
|
|
|
string what()
|
|
{
|
|
return this->why;
|
|
}
|
|
};
|
|
} // game_exceptions
|
|
|
|
#endif //MALFORMEDMAZE_H
|