| 117 | #pragma GCC diagnostic push |
| 118 | #pragma GCC diagnostic ignored "-Wreturn-type" |
| 119 | static std::string enumString(Type t) { |
| 120 | switch(t) { |
| 121 | case Type::FileNotOpen: |
| 122 | return "File not open"; break; |
| 123 | case Type::ExceptionThrown: |
| 124 | return "Exception thrown"; break; |
| 125 | case Type::PastEnd: |
| 126 | return "Past the end of the file"; break; |
| 127 | } |
| 128 | } |
| 129 | #pragma GCC diagnostic pop |
| 130 | |
| 131 | const char* what() const noexcept override { |
nothing calls this directly
no outgoing calls
no test coverage detected