| 26 | using size_type = typename Map::size_type; |
| 27 | |
| 28 | struct MissingKeyException : public std::runtime_error { |
| 29 | MissingKeyException() : std::runtime_error("Tried to remove missing key") {} |
| 30 | }; |
| 31 | |
| 32 | struct BadSerializationFormatException : public std::runtime_error { |
| 33 | BadSerializationFormatException(const std::string &path) : std::runtime_error("Tried to load data with bad serialization format from file " + path) {} |