hpx/errors/error.hpp#

Defined in header hpx/errors/error.hpp.

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

Defines

HPX_ERROR_UNSCOPED_ENUM_DEPRECATION_MSG#
namespace hpx

Enums

enum class error : std::int16_t#

Possible error conditions.

This enumeration lists all possible error conditions which can be reported from any of the API functions.

Values:

enumerator success#

The operation was successful.

enumerator no_success#

The operation did failed, but not in an unexpected manner.

enumerator not_implemented#

The operation is not implemented.

enumerator out_of_memory#

The operation caused an out of memory condition.

enumerator bad_action_code#
enumerator bad_component_type#

The specified component type is not known or otherwise invalid.

enumerator network_error#

A generic network error occurred.

enumerator version_too_new#

The version of the network representation for this object is too new.

enumerator version_too_old#

The version of the network representation for this object is too old.

enumerator version_unknown#

The version of the network representation for this object is unknown.

enumerator unknown_component_address#
enumerator duplicate_component_address#

The given global id has already been registered.

enumerator invalid_status#

The operation was executed in an invalid status.

enumerator bad_parameter#

One of the supplied parameters is invalid.

enumerator internal_server_error#
enumerator service_unavailable#
enumerator bad_request#
enumerator repeated_request#
enumerator lock_error#
enumerator duplicate_console#

There is more than one console locality.

enumerator no_registered_console#

There is no registered console locality available.

enumerator startup_timed_out#
enumerator uninitialized_value#
enumerator bad_response_type#
enumerator deadlock#
enumerator assertion_failure#
enumerator null_thread_id#

Attempt to invoke a API function from a non-HPX thread.

enumerator invalid_data#
enumerator yield_aborted#

The yield operation was aborted.

enumerator commandline_option_error#

One of the options given on the command line is erroneous.

enumerator serialization_error#

There was an error during serialization of this object.

enumerator unhandled_exception#

An unhandled exception has been caught.

enumerator kernel_error#

The OS kernel reported an error.

enumerator broken_task#

The task associated with this future object is not available anymore.

enumerator task_moved#

The task associated with this future object has been moved.

enumerator task_already_started#

The task associated with this future object has already been started.

enumerator future_already_retrieved#

The future object has already been retrieved.

enumerator promise_already_satisfied#

The value for this future object has already been set.

enumerator future_does_not_support_cancellation#

The future object does not support cancellation.

enumerator future_can_not_be_cancelled#

The future can’t be canceled at this time.

enumerator no_state#

The future object has no valid shared state.

enumerator broken_promise#

The promise has been deleted.

enumerator thread_resource_error#
enumerator future_cancelled#
enumerator thread_cancelled#
enumerator thread_not_interruptable#
enumerator duplicate_component_id#

The component type has already been registered.

enumerator unknown_error#

An unknown error occurred.

enumerator bad_plugin_type#

The specified plugin type is not known or otherwise invalid.

enumerator filesystem_error#

The specified file does not exist or other filesystem related error.

enumerator bad_function_call#

equivalent of std::bad_function_call

enumerator task_canceled_exception#

parallel::task_canceled_exception

enumerator task_block_not_active#

task_region is not active

enumerator out_of_range#

Equivalent to std::out_of_range.

enumerator length_error#

Equivalent to std::length_error.

enumerator migration_needs_retry#

migration failed because of global race, retry

Functions

inline constexpr bool operator==(int lhs, error rhs) noexcept#
inline constexpr bool operator==(error lhs, int rhs) noexcept#
inline constexpr bool operator!=(int lhs, error rhs) noexcept#
inline constexpr bool operator!=(error lhs, int rhs) noexcept#
inline constexpr bool operator<(int lhs, error rhs) noexcept#
inline constexpr bool operator>=(int lhs, error rhs) noexcept#
inline constexpr int operator&(error lhs, error rhs) noexcept#
inline constexpr int operator&(int lhs, error rhs) noexcept#
inline constexpr int operator|=(int &lhs, error rhs) noexcept#
char const *get_error_name(error e) noexcept#

Variables

constexpr error success = error::success#
constexpr error no_success = error::no_success#
constexpr error not_implemented = error::not_implemented#
constexpr error out_of_memory = error::out_of_memory#
constexpr error bad_action_code = error::bad_action_code#
constexpr error bad_component_type = error::bad_component_type#
constexpr error network_error = error::network_error#
constexpr error version_too_new = error::version_too_new#
constexpr error version_too_old = error::version_too_old#
constexpr error version_unknown = error::version_unknown#
constexpr error unknown_component_address = error::unknown_component_address#
constexpr error duplicate_component_address = error::duplicate_component_address#
constexpr error invalid_status = error::invalid_status#
constexpr error bad_parameter = error::bad_parameter#
constexpr error internal_server_error = error::internal_server_error#
constexpr error service_unavailable = error::service_unavailable#
constexpr error bad_request = error::bad_request#
constexpr error repeated_request = error::repeated_request#
constexpr error lock_error = error::lock_error#
constexpr error duplicate_console = error::duplicate_console#
constexpr error no_registered_console = error::no_registered_console#
constexpr error startup_timed_out = error::startup_timed_out#
constexpr error uninitialized_value = error::uninitialized_value#
constexpr error bad_response_type = error::bad_response_type#
constexpr error deadlock = error::deadlock#
constexpr error assertion_failure = error::assertion_failure#
constexpr error null_thread_id = error::null_thread_id#
constexpr error invalid_data = error::invalid_data#
constexpr error yield_aborted = error::yield_aborted#
constexpr error commandline_option_error = error::commandline_option_error#
constexpr error serialization_error = error::serialization_error#
constexpr error unhandled_exception = error::unhandled_exception#
constexpr error kernel_error = error::kernel_error#
constexpr error broken_task = error::broken_task#
constexpr error task_moved = error::task_moved#
constexpr error task_already_started = error::task_already_started#
constexpr error future_already_retrieved = error::future_already_retrieved#
constexpr error promise_already_satisfied = error::promise_already_satisfied#
constexpr error future_does_not_support_cancellation = error::future_does_not_support_cancellation#
constexpr error future_can_not_be_cancelled = error::future_can_not_be_cancelled#
constexpr error no_state = error::no_state#
constexpr error broken_promise = error::broken_promise#
constexpr error thread_resource_error = error::thread_resource_error#
constexpr error future_cancelled = error::future_cancelled#
constexpr error thread_cancelled = error::thread_cancelled#
constexpr error thread_not_interruptable = error::thread_not_interruptable#
constexpr error duplicate_component_id = error::duplicate_component_id#
constexpr error unknown_error = error::unknown_error#
constexpr error bad_plugin_type = error::bad_plugin_type#
constexpr error filesystem_error = error::filesystem_error#
constexpr error bad_function_call = error::bad_function_call#
constexpr error task_canceled_exception = error::task_canceled_exception#
constexpr error task_block_not_active = error::task_block_not_active#
constexpr error out_of_range = error::out_of_range#
constexpr error length_error = error::length_error#
constexpr error migration_needs_retry = error::migration_needs_retry#