19 #ifndef SBUILD_ERROR_H
20 #define SBUILD_ERROR_H
27 #include <boost/format.hpp>
28 #include <boost/type_traits.hpp>
57 const std::string&
reason):
76 return this->
reason.c_str();
109 template <
typename T>
116 typedef std::map<error_type,const char *>
map_type;
135 const std::string&
reason):
173 template <
typename A,
typename B,
typename C,
174 typename D,
typename E,
typename F>
196 template <
typename A,
typename B,
typename C,
197 typename D,
typename E,
typename F>
202 const std::runtime_error&
error,
219 template <
typename A,
typename B,
typename C,
220 typename R,
typename D,
typename E,
typename F>
239 const std::nullptr_t& value);
256 template<
typename A,
bool b>
307 template<
typename A,
bool b>
345 catch (
const std::bad_cast& discard)
355 #include <sbuild/error.tcc>