MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / AudioFileNotFound

Class AudioFileNotFound

include/Core/Audio/Exceptions.hpp:6–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4namespace obe::Audio::Exceptions
5{
6 class AudioFileNotFound : public Exception
7 {
8 public:
9 AudioFileNotFound(
10 std::string_view path, std::vector<std::string> mountedPaths, DebugInfo info)
11 : Exception("AudioFileNotFound", info)
12 {
13 this->error(
14 "Impossible to find audio file at the following path : '{}'", path);
15 this->hint("The file was supposed to be in one of the following paths : ({})",
16 fmt::join(mountedPaths, ", "));
17 }
18 };
19}

Callers 1

loadMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected