-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Remove error erasures #### Problem Various code of the form error = chipf(); Verify(error != CHIP_NO_ERROR, error = CHIP_OTHER_ERROR) simply discards an error and replaces it with another, usually CHIP_ERROR_INTERNAL. This has two problems: - on small platforms, it uses extra code; - on large platforms, it is planned that the CHIP_ERROR type will track the original source location of the error, and throwing this away will impede troubleshooting. #### Change overview Use the original error code instead of replacing it. #### Testing No affected tests check for specific error codes. Unit tests should be expected to catch any unintended changes to functionality. * build fixes * build fixes
- Loading branch information
1 parent
f6823ca
commit 5239937
Showing
10 changed files
with
116 additions
and
221 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.