25#include "Exceptions.hpp"
28file_open_exception::file_open_exception(
const std::string& s)
30 message +=
"Failed to open file: ";
34const char* file_open_exception::what() const noexcept {
35 return message.c_str();
38file_read_exception::file_read_exception(
const std::string& s)
40 message +=
"Failed to read file: ";
44const char* file_read_exception::what() const noexcept {
45 return message.c_str();
48file_parse_exception::file_parse_exception(
const std::string& s)
50 message +=
"Failed to parse file: ";
54const char* file_parse_exception::what() const noexcept {
55 return message.c_str();