#ifndef RETRONFS95_COMPAT_HPP #define RETRONFS95_COMPAT_HPP #include #include #include #include namespace retronfs { typedef unsigned char byte; typedef std::vector Bytes; class Error : public std::runtime_error { public: explicit Error(const std::string& msg) : std::runtime_error(msg) {} }; std::string format_error(const std::string& what, int code); } #endif