MCPcopy Create free account
hub / github.com/bitfieldaudio/OTTO / enumString

Method enumString

src/util/bytefile.hpp:119–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected