HPX_THROW_EXCEPTION(errcode, f, msg)
HPX_THROWS_IF(ec, errcode, f, msg)
namespace hpx {
class error_code;
class exception;
struct thread_interrupted;
enum throwmode { plain = 0, rethrow = 1, lightweight = 0x80 };
error_code throws;
error_code make_error_code(error e, throwmode mode = plain);
error_code make_error_code(error e, char const * func, char const * file,
long line, throwmode mode = plain);
error_code make_error_code(error e, char const * msg,
throwmode mode = plain);
error_code make_error_code(error e, char const * msg, char const * func,
char const * file, long line,
throwmode mode = plain);
error_code make_error_code(error e, std::string const & msg,
throwmode mode = plain);
error_code make_error_code(error e, std::string const & msg,
char const * func, char const * file, long line,
throwmode mode = plain);
error_code make_error_code(boost::exception_ptr const & e);
boost::system::error_category const & get_hpx_category();
boost::system::error_category const & get_hpx_rethrow_category();
error_code make_success_code(throwmode mode = plain);
std::string diagnostic_information(hpx::exception const &);
std::string diagnostic_information(hpx::error_code const &);
std::string get_error_what(hpx::exception const &);
std::string get_error_what(hpx::error_code const &);
boost::uint32_t get_error_locality_id(hpx::exception const &);
boost::uint32_t get_error_locality_id(hpx::error_code const &);
error get_error(hpx::exception const &);
error get_error(hpx::error_code const &);
std::string get_error_host_name(hpx::exception const &);
std::string get_error_host_name(hpx::error_code const &);
boost::int64_t get_error_process_id(hpx::exception const &);
boost::int64_t get_error_process_id(hpx::error_code const &);
std::string get_error_env(hpx::exception const &);
std::string get_error_env(hpx::error_code const &);
std::string get_error_function_name(hpx::exception const &);
std::string get_error_function_name(hpx::error_code const &);
std::string get_error_backtrace(hpx::exception const &);
std::string get_error_backtrace(hpx::error_code const &);
std::string get_error_file_name(hpx::exception const &);
std::string get_error_file_name(hpx::error_code const &);
int get_error_line_number(hpx::exception const &);
int get_error_line_number(hpx::error_code const &);
std::size_t get_error_os_thread(hpx::exception const &);
std::size_t get_error_os_thread(hpx::error_code const &);
std::size_t get_error_thread_id(hpx::exception const &);
std::size_t get_error_thread_id(hpx::error_code const &);
std::string get_error_thread_description(hpx::exception const &);
std::string get_error_thread_description(hpx::error_code const &);
std::string get_error_config(hpx::exception const &);
std::string get_error_config(hpx::error_code const &);
}