Get the error message from a navigator event.
Synopsis:
#include <bps/navigator.h>
BPS_API const char* navigator_event_get_err(bps_event_t *event)
Arguments:
- event
-
The event to extract the error message from.
Library:
libbps (For the qcc command, use the -l bps option to link against this library)
Description:
The
navigator_event_get_err() function extracts the error message from the the following events:
- NAVIGATOR_ORIENTATION_RESULT
- NAVIGATOR_INVOKE_TARGET_RESULT
- NAVIGATOR_INVOKE_QUERY_RESULT
- NAVIGATOR_INVOKE_VIEWER_RESULT
- NAVIGATOR_INVOKE_VIEWER_RELAY_RESULT
- NAVIGATOR_INVOKE_GET_FILTERS_RESULT
- NAVIGATOR_INVOKE_SET_FILTERS_RESULT
- NAVIGATOR_INVOKE_TIMER_REGISTRATION
Returns:
The error message from the event, or NULL if there is no error message.