| 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 | { |