#ifndef MAG160C_CORE_ERROR_HPP #define MAG160C_CORE_ERROR_HPP #include "mag160c/mag160c.h" #include namespace mag160c::core { const char* error_name(mag160c_error_t code) noexcept; const char* last_error() noexcept; void clear_last_error(); void set_last_error(std::string message); } // namespace mag160c::core #endif