Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #2258, add more generic status codes #2259

Merged
merged 1 commit into from
Mar 30, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions modules/core_api/fsw/inc/cfe_error.h
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,30 @@ char *CFE_ES_StatusToString(CFE_Status_t status, CFE_StatusString_t *status_stri
*/
#define CFE_STATUS_REQUEST_ALREADY_PENDING ((int32)0xc8000006)

/**
* @brief Request or input value failed basic structural validation
*
* A message or table input was not in the proper format to be understood
* and processed by an application, and was rejected.
*/
#define CFE_STATUS_VALIDATION_FAILURE ((int32)0xc8000007)

/**
* @brief Request or input value is out of range
*
* A message, table, or function call input contained a value that was outside
* the acceptable range, and the request was rejected.
*/
#define CFE_STATUS_RANGE_ERROR ((int32)0xc8000008)

/**
* @brief Cannot process request at this time
*
* The system is not currently in the correct state to accept the request at
* this time.
*/
#define CFE_STATUS_INCORRECT_STATE ((int32)0xc8000009)

/**
* @brief Not Implemented
*
Expand Down