Skip to content

Commit

Permalink
Merge pull request COVESA#312 from doschropa/fix-interface-specific-e…
Browse files Browse the repository at this point in the history
…rrors

Fix for issue COVESA#311, Error handling ignores interface specific errors
  • Loading branch information
lutzbichler authored Mar 15, 2022
2 parents 02a6eae + 211353a commit 8634ad9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion implementation/utility/include/utility.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,9 @@ class utility {
|| _code == return_code_e::E_WRONG_PROTOCOL_VERSION
|| _code == return_code_e::E_WRONG_INTERFACE_VERSION
|| _code == return_code_e::E_MALFORMED_MESSAGE
|| _code == return_code_e::E_WRONG_MESSAGE_TYPE);
|| _code == return_code_e::E_WRONG_MESSAGE_TYPE
|| (static_cast<std::uint8_t>(_code) >= 0x20
&& static_cast<std::uint8_t>(_code) <= 0x5E));
}

private:
Expand Down

0 comments on commit 8634ad9

Please sign in to comment.