Home
last modified time | relevance | path

Searched refs:subResponseCode (Results 1 – 1 of 1) sorted by relevance

/openbmc/bmcweb/redfish-core/include/utils/
H A Dquery_param.hpp762 inline unsigned propogateErrorCode(unsigned finalCode, unsigned subResponseCode) in propogateErrorCode() argument
776 if (orderedCodes[i] == subResponseCode) in propogateErrorCode()
786 : subResponseCode; in propogateErrorCode()
788 if (subResponseCode == 500 || finalCode == 500) in propogateErrorCode()
792 if (subResponseCode > 500 || finalCode > 500) in propogateErrorCode()
794 return std::max(finalCode, subResponseCode); in propogateErrorCode()
796 if (subResponseCode == 401) in propogateErrorCode()
798 return subResponseCode; in propogateErrorCode()
800 return std::max(finalCode, subResponseCode); in propogateErrorCode()