std::string errorCodeToString(ErrorCodes code)
Converts the enum ErrorCode into string.
Definition: common.cpp:5
ErrorCodes
Error Codes for the btf library.
Definition: common.h:13
@ multiple_tasks_running
Multiple tasks are running at the same time on the same core.
@ success
No error occured.
@ runnable_source_task_not_running
The source task of a runnable is not running.
@ terminate_on_task_with_running_runnables
The system tried to terminate a task, which has running runnables.
@ amount_of_semaphore_accesses_invalid
@ no_task_running
No task is running, hence no runnable event is possible.
@ invalid_type
The type of the object is invalid, e.g. the entity was previously used as another type.
@ source_and_target_not_equal
Although required, the source and target are not equal.
@ invalid_event
The type of the event is invalid, e.g. the given source cannot issue that event.
@ descending_timestamp
The timestamp of an event is smaller than the timestamp of the last event.
@ event_on_idle_core
An Event appeared on an idle core.
@ core_idle_task_still_running
A core wants to switch to idle while a task is still running on it.
@ invalid_state_transition
The state transition of an entity is not valid.
@ allocated_to_different_core
The entity is currently running on a different core.
@ already_in_state
Entity wants to go in a state, in which it already was.
@ terminate_on_runnable_with_running_sub_runnable
The system tried to terminate a runnable with at least one running sub-runnable.