| 44 | }; |
| 45 | |
| 46 | class TextureNotFound : public Exception |
| 47 | { |
| 48 | public: |
| 49 | TextureNotFound( |
| 50 | std::string_view path, std::vector<std::string> mounts, DebugInfo info) |
| 51 | : Exception("TextureNotFound", info) |
| 52 | { |
| 53 | this->error("Could not find Texture with path '{}'", path); |
| 54 | this->hint("The following paths were used to search for the Texture ({})", |
| 55 | fmt::join(mounts, ", ")); |
| 56 | } |
| 57 | }; |
| 58 | |
| 59 | class FontNotFound : public Exception |
| 60 | { |