Skip to content

Commit

Permalink
Merge pull request #2259 from jphickey/fix-2258-add-status-codes
Browse files Browse the repository at this point in the history
Fix #2258, add more generic status codes
  • Loading branch information
dzbaker committed Mar 30, 2023
2 parents 7c03369 + 10b63dc commit 24df991
Showing 1 changed file with 24 additions and 0 deletions.
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

0 comments on commit 24df991

Please sign in to comment.