#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