Skip to content

Commit

Permalink
Restore per-10 grouping of error (sub) codes
Browse files Browse the repository at this point in the history
Facilitates mapping numeric ID to enum entry.
  • Loading branch information
gavanderhoorn committed Jun 19, 2023
1 parent 4bf2771 commit d3b8e09
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/ErrorHandling.h
Original file line number Diff line number Diff line change
Expand Up @@ -154,13 +154,10 @@ typedef enum
SUBCODE_FAIL_INIT_SERVICE_STOP_TRAJ_MODE,
SUBCODE_FAIL_ADD_SERVICE_SELECT_MOTION_TOOL,
SUBCODE_FAIL_INIT_SERVICE_SELECT_MOTION_TOOL,

SUBCODE_CONFIGURATION_EMPTY_JOINT_NAME,
SUBCODE_FAIL_CREATE_IO_EXECUTOR,

SUBCODE_FAIL_TIMER_INIT_USERLAN_MONITOR,
SUBCODE_FAIL_TIMER_ADD_USERLAN_MONITOR,

SUBCODE_CONFIGURATION_AGENT_ON_NET_CHECK,

} ASSERTION_SUBCODE;
Expand All @@ -184,6 +181,7 @@ typedef enum
SUBCODE_CONFIGURATION_INVALID_IO_PERIOD,
SUBCODE_CONFIGURATION_TOO_MANY_REMAP_RULES1,
SUBCODE_CONFIGURATION_TOO_MANY_REMAP_RULES2,

SUBCODE_CONFIGURATION_INVALID_REMAP_RULE_FORMAT,
SUBCODE_CONFIGURATION_FAIL_NODE_INIT_ARG_PARSE,
SUBCODE_CONFIGURATION_INVALID_CUSTOM_JOINT_NAME,
Expand Down

0 comments on commit d3b8e09

Please sign in to comment.