-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Unify error code for Persistent Storage Delegate #15671
Comments
So in particular, So does But Looking at the implementations, I see the following behavior for
The implementations are also not consistent in terms of what they return when the buffer is too small. We should align all of these with |
Problem
When a value is not found two possible error code can be returned depending on implementation type :
CHIP_ERROR_PERSISTED_STORAGE_VALUE_NOT_FOUND
andCHIP_ERROR_KEY_NOT_FOUND
Proposed Solution
Unify the API so that the same error code is return regardless of implementation.
The text was updated successfully, but these errors were encountered: