arch-repo-manager/librepomgr/errorhandling.h

12 lines
379 B
C
Raw Normal View History

2021-01-25 00:24:31 +01:00
#ifndef LIBREPOMGR_ERROR_HANDLING_H
#define LIBREPOMGR_ERROR_HANDLING_H
#include <reflective_rapidjson/json/serializable.h>
#include <boost/beast/core/string.hpp>
// allow to serialize deserialization errors so we can return errors as JSON, too
REFLECTIVE_RAPIDJSON_MAKE_JSON_SERIALIZABLE(ReflectiveRapidJSON::JsonDeserializationError);
#endif // LIBREPOMGR_ERROR_HANDLING_H