hpx::exception#

Defined in header hpx/exception.hpp.

See Public API for a list of names and headers that are part of the public HPX API.

class exception : public system_error#

A hpx::exception is the main exception type used by HPX to report errors.

The hpx::exception type is the main exception type used by HPX to report errors. Any exceptions thrown by functions in the HPX library are either of this type or of a type derived from it. This implies that it is always safe to use this type only in catch statements guarding HPX library calls.

Subclassed by hpx::bad_alloc_exception, hpx::cuda::experimental::cuda_exception, hpx::exception_list, hpx::experimental::task_canceled_exception, hpx::mpi::experimental::mpi_exception