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

Class MountablePathIndexOverflow

include/Core/System/Exceptions.hpp:44–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42 };
43
44 class MountablePathIndexOverflow : public Exception
45 {
46 public:
47 MountablePathIndexOverflow(std::size_t index, std::size_t maximum,
48 const std::vector<std::string>& mounts, DebugInfo info)
49 : Exception("PathIndexOverflow", info)
50 {
51 this->error(
52 "Impossible to get MountablePath at index {} when there is only {} Paths",
53 index, maximum);
54 this->hint("Here is a list of available MountablePath ({})",
55 fmt::join(mounts, ", "));
56 }
57 };
58
59 class UnknownPackage : public Exception
60 {

Callers 1

getPathMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected