commit | 0fce2bb06a4f8770014163b5639f872e6b941268 | [log] [tgz] |
---|---|---|
author | Alexei Frolov <frolv@google.com> | Thu Dec 22 22:31:32 2022 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Dec 22 22:31:32 2022 +0000 |
tree | 8a0c7ce2f3bafa1a1119e177c6942c6e31828295 | |
parent | d6e29db5ff390509bb84ea95b8f63bc560aa413c [diff] |
Return Result from fallible registry functions This updates the registry add_* functions to return a Result instead of a bool on failure to force handling errors. The placeholder error is used temporarily. Change-Id: If9db8c2a442f75f2a0746e1774b7b3c6455bcbe5 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/qg/+/125211 Commit-Queue: Alexei Frolov <frolv@google.com> Reviewed-by: Erik Gilling <konkers@google.com>