commit | a6d685e3e3eee8ec928fcb0caaa6a801b5f25301 | [log] [tgz] |
---|---|---|
author | Seth Moore <sethmo@google.com> | Fri May 19 13:33:57 2023 -0700 |
committer | Seth Moore <sethmo@google.com> | Fri May 19 13:33:57 2023 -0700 |
tree | 80be03ad071260cacf55f7717e772c778018a876 | |
parent | 5356b483e8974bdaa3275c9bc5acaf2ba4be3f65 [diff] |
Include name in FieldValueError variants This way, we carry the name of the missing field along with all errors, removing the need to use anyhow::Context to decorate errors with the name of the field. Bug: 280620556 Test: hwtrust_tests Change-Id: Ib0da6b39e25c875ad69bce59c128924c60884daf