![]() |
hpx::error — Possible error conditions.
// In header: <hpx/error.hpp> enum error { success = 0, no_success = 1, not_implemented = 2, out_of_memory = 3, bad_action_code = 4, bad_component_type = 5, network_error = 6, version_too_new = 7, version_too_old = 8, version_unknown = 9, unknown_component_address = 10, duplicate_component_address = 11, invalid_status = 12, bad_parameter = 13, internal_server_error = 14, service_unavailable = 15, bad_request = 16, repeated_request = 17, lock_error = 18, duplicate_console = 19, no_registered_console = 20, startup_timed_out = 21, uninitialized_value = 22, bad_response_type = 23, deadlock = 24, assertion_failure = 25, null_thread_id = 26, invalid_data = 27, yield_aborted = 28, dynamic_link_failure = 29, commandline_option_error = 30, serialization_error = 31, unhandled_exception = 32, kernel_error = 33, broken_task = 34, task_moved = 35, task_already_started = 36, future_already_retrieved = 37, promise_already_satisfied = 38, future_does_not_support_cancellation = 39, future_can_not_be_cancelled = 40, no_state = 41, broken_promise = 42, thread_resource_error = 43, future_cancelled = 44, thread_cancelled = 45, thread_not_interruptable = 46, duplicate_component_id = 47, unknown_error = 48, bad_plugin_type = 49, security_error = 50, filesystem_error = 51, bad_function_call = 52, task_canceled_exception = 53, task_region_not_active = 54 };
This enumeration lists all possible error conditions which can be reported from any of the API functions.
success
no_success
not_implemented
out_of_memory
bad_component_type
network_error
version_too_new
version_too_old
version_unknown
duplicate_component_address
invalid_status
bad_parameter
duplicate_console
no_registered_console
null_thread_id
yield_aborted
commandline_option_error
serialization_error
unhandled_exception
kernel_error
broken_task
task_moved
task_already_started
future_already_retrieved
promise_already_satisfied
future_does_not_support_cancellation
future_can_not_be_cancelled
no_state
broken_promise
duplicate_component_id
unknown_error
bad_plugin_type
security_error
filesystem_error
bad_function_call
task_canceled_exception
task_region_not_active