2 * Copyright 2013, Ingo Weinhold, ingo_weinhold@gmx.de.
3 * Distributed under the terms of the MIT License.
5 #ifndef PACKAGE_MANAGER_UTILS_H
6 #define PACKAGE_MANAGER_UTILS_H
9 #include <package/manager/Exceptions.h>
14 throw BFatalErrorException(__VA_ARGS__); \
18 #define DIE_DETAILS(details, ...) \
20 throw BFatalErrorException(__VA_ARGS__).SetDetails(details); \
24 #endif // PACKAGE_MANAGER_UTILS_H