#include void OnError(int err, std::string msg = "");