|
SObjectizer 5.8
|
Error codes. More...
Go to the source code of this file.
Namespaces | |
| namespace | so_5 |
| Private part of message limit implementation. | |
Variables | |
| const int | so_5::rc_environment_error = 1 |
| so_environment launch is failed. | |
| const int | so_5::rc_another_state_switch_in_progress = 170 |
| An attempt to switch agent state when another switch operation is in progress. | |
| const int | so_5::rc_autoshutdown_must_be_enabled = 171 |
| An attempt to launch environment with autoshutdown disabled in conditions where autoshutdown must be enabled. | |
| const int | so_5::rc_mutable_msg_cannot_be_delivered_via_mpmc_mbox = 172 |
| An attempt to deliver mutable message via MPMC mbox. | |
| const int | so_5::rc_mutable_msg_cannot_be_periodic = 173 |
| An attempt to send mutable message as a periodic message. | |
| const int | so_5::rc_subscription_to_mutable_msg_from_mpmc_mbox = 174 |
| An attempt to make subscription on mutable message from MPMC mbox. | |
| const int | so_5::rc_cannot_set_stop_guard_when_stop_is_started = 175 |
| An attempt to set up a new stop_guard when the stop operation is already in progress. | |
| const int | so_5::rc_negative_value_for_pause = 176 |
| An attempt to use negative value for pause argument for delayed or periodic message/signal. | |
| const int | so_5::rc_negative_value_for_period = 177 |
| An attempt to use negative value for period argument for periodic message/signal. | |
| const int | so_5::rc_transfer_to_state_loop = 178 |
| A loop in transfer_to_state detected. | |
| const int | so_5::rc_attempt_to_cast_to_envelope_on_nullptr = 180 |
| An attempt to cast message to message envelope when a pointer to message is NULL. | |
| const int | so_5::rc_unable_to_define_new_step = 181 |
| New step can't be defined if testing scenario is already started or finished. | |
| const int | so_5::rc_scenario_must_be_completed = 182 |
| Testing scenario must be completed before an attempt to do the current operation. | |
| const int | so_5::rc_stored_state_name_not_found = 183 |
| There is no stored state name in the testing scenario. | |
| const int | so_5::rc_coop_already_destroyed = 184 |
| An attempt to get a pointer to already destroyed cooperation. | |
| const int | so_5::rc_coop_is_not_in_registered_state = 185 |
| An attempt to do something with coop that is not in registered state. | |
| const int | so_5::rc_unable_to_join_thread_by_itself = 186 |
| An attempt to call join() from the joinable thread itself. | |
| const int | so_5::rc_extensible_select_is_active_now = 187 |
| An attempt to modify or activate extensible-select when an operation on that extensible-select object is already active. | |
| const int | so_5::rc_prepared_select_is_active_now = 188 |
| An attempt to activate prepared-select when an operation on that prepared-select object is already active. | |
| const int | so_5::rc_agent_deactivated = 189 |
| Agent can't change state because the agent is already deactivated. | |
| const int | so_5::rc_mpsc_mbox_expected = 190 |
| An instance of MPSC mbox is expected as custom direct mbox. | |
| const int | so_5::rc_nullptr_as_delivery_filter_pointer = 191 |
| nullptr can't be passed as delivery_filter. | |
| const int | so_5::rc_nullptr_as_result_of_user_mbox_factory = 192 |
| nullptr returned by user-provided mbox factory. | |
| const int | so_5::rc_no_preallocated_resources_for_agent = 193 |
| There are no resources that must have been in place for an agent in advance. | |
| const int | so_5::rc_disp_binder_already_set_for_agent = 194 |
| The dispatcher binder is already set for the agent. | |
| const int | so_5::rc_no_disp_binder_for_agent = 195 |
| The dispatcher binder is not set for the agent yet. | |
| const int | so_5::rc_empty_agent_name = 196 |
| Name for an agent can't be empty. | |
| const int | so_5::rc_agent_name_too_long = 197 |
| Length of an agent name is too large. | |
| const int | so_5::rc_stored_msg_inspection_result_not_found = 198 |
| There is no stored msg inspection result in the testing scenario. | |
Error codes for agent's methods. | |
| const int | so_5::rc_agent_unknown_state = 10 |
| Trying to switch to the unknown state. | |
| const int | so_5::rc_agent_has_no_cooperation = 14 |
| Agent is not bound to a cooperation. | |
| const int | so_5::rc_agent_incompatible_type_conversion = 15 |
| It is impossible to make a cast to that type. | |
| const int | so_5::rc_operation_enabled_only_on_agent_working_thread = 16 |
| An attempt to perform an operation which is enabled only on agent's working thread. | |
| const int | so_5::rc_no_initial_substate = 17 |
| An attempt to change agent state to a new composite state which have no initial state defined. | |
| const int | so_5::rc_state_nesting_is_too_deep = 18 |
| Nesting of agent states is too deep. | |
| const int | so_5::rc_initial_substate_already_defined = 19 |
| Initial substate for a composite state is already defined. | |
Error codes for cooperations of agents. | |
| const int | so_5::rc_coop_define_agent_failed = 24 |
| Cooperation couldn't be registered. | |
| const int | so_5::rc_agent_to_disp_binding_failed = 27 |
| Binding of agent to dispatcher failed. | |
| const int | so_5::rc_unable_to_register_coop_during_shutdown = 28 |
| It is impossible to register cooperation during SObjectizer Environment shutdown. | |
Error codes for dispatchers. | |
| const int | so_5::rc_disp_create_failed = 31 |
| Unable to create a dispatcher. | |
Error codes for event handlers and message interceptors registration. | |
| const int | so_5::rc_evt_handler_already_provided = 40 |
| A handler for that event/mbox/state is already registered. | |
| const int | so_5::rc_agent_is_not_the_state_owner = 43 |
| Agent doesn't own this state. | |
| const int | so_5::rc_illegal_subscriber_for_mpsc_mbox = 47 |
| An attempt to create illegal subscription to mpsc_mbox. | |
| const int | so_5::rc_message_has_no_limit_defined = 48 |
| An attempt to create subscription to message without predefined limit for that message type. | |
| const int | so_5::rc_several_limits_for_one_message_type = 49 |
| An attempt to define several limits for one message type. | |
Error codes for mboxes. | |
| const int | so_5::rc_null_message_data = 82 |
| Null message data. | |
Error codes for layers. | |
| const int | so_5::rc_layer_not_binded_to_so_env = 100 |
| The layer is not bound to the SObjectizer Environment. | |
| const int | so_5::rc_trying_to_add_nullptr_extra_layer = 101 |
| Unable to bind a layer by the null pointer to it. | |
| const int | so_5::rc_trying_to_add_extra_layer_that_already_exists_in_default_list = 102 |
| The layer is already bound to the SObjectizer Environment as a default layer. | |
| const int | so_5::rc_trying_to_add_extra_layer_that_already_exists_in_extra_list = 103 |
| The layer is already bound to the SObjectizer Environment as an extra layer. | |
| const int | so_5::rc_unable_to_start_extra_layer = 104 |
| Layer initialization is failed. | |
| const int | so_5::rc_layer_does_not_exist = 105 |
| A layer with the specified type doesn't exist. | |
Error codes for priorities. | |
| const int | so_5::rc_priority_quote_illegal_value = 120 |
| Illegal value of quote for a priority. | |
Error codes for SObjectizer Environment related errors. | |
| const int | so_5::rc_msg_tracing_disabled = 140 |
| Message delivery tracing is disabled and cannot be used. | |
Error codes for message chains. | |
| const int | so_5::rc_msg_chain_is_empty = 160 |
| Attempt to get message from empty message queue. | |
| const int | so_5::rc_msg_chain_is_full = 161 |
| Attempt to push a message to full message queue. | |
| const int | so_5::rc_msg_chain_doesnt_support_subscriptions = 162 |
| Attempt to make subscription for message chain. | |
| const int | so_5::rc_msg_chain_doesnt_support_delivery_filters = 163 |
| Attempt to set delivery_filter for message chain. | |
| const int | so_5::rc_msg_chain_overflow = 164 |
| const int | so_5::rc_several_handlers_for_one_message_type = 165 |
| Attempt to define several handlers for one msg_type. | |
Common error codes. | |
| const int | so_5::rc_empty_name = 500 |
| The empty name doesn't allowed. | |
| const int | so_5::rc_invalid_time_limit_for_state = 501 |
| Invalid value of time limit for an agent's state. | |
| const int | so_5::rc_not_implemented = 502 |
| Feature or method has no implementation yet. | |
| const int | so_5::rc_unknown_exception_type = 503 |
| An exception of unknown type is caught. | |
| const int | so_5::rc_unexpected_error = 0xFFFFFF |
| Unclassified error. | |
Error codes.
Definition in file ret_code.hpp.