#include <osmfile.hpp>
This exception is thrown when you wanted to read a normal OSM file, but the file opened had a different type.