std_skills/msg/Result

 1
 2# Error codes
 3#############
 4
 5# where meaningful, error codes are aligned with C++11 error codes:
 6# https://en.cppreference.com/w/cpp/error/errno_macros
 7
 8# no error
 9uint8 ROS_ENOERR = 0
10
11# interupted skill execution.
12# if a current executing skill if interupted (for instance by a higher-priority
13# incoming request), the cancelled call returns this error code.
14uint8 ROS_EINTR = 4
15
16# bad message
17# the provided parameters to call the skill are invalid and/or missing.
18uint8 ROS_EBADMSG = 74
19
20# canceled skill
21# if the skill execution is canceled by the caller, this error code is returned.
22uint8 ROS_ECANCELED = 125
23
24# not supported
25# the requested skill is not supported (for instance, not implemented yet)
26uint8 ROS_ENOTSUP = 134
27
28# other error
29uint8 ROS_EOTHER = 255
30
31###########
32
33uint8 error_code
34string error_msg