commit | c73144d8f6dbf32b23eddc6d60eb8a25a27e33ca | [log] [tgz] |
---|---|---|
author | Megan Batty <mgnb@google.com> | Fri Mar 24 18:43:08 2023 +0000 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Mar 24 18:43:08 2023 +0000 |
tree | 6aba65a6e68d3d918a7e0535701ed5c32d49bae1 | |
parent | 485d47959e5618d48874b92f9b0df9d3440a9c1b [diff] |
[ffx][sdk] Improve SDK error output Use proper ffx_error annotations on load errors of the sdk at the main public entry points and use `ok_or_else` instead of `ok_or` so we're not always constructing unused error objects or strings. Fixed: 124276 Change-Id: I38da848a9f1d9c16e283b9319364169040f78dfc Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/825016 Reviewed-by: Colin Nelson <colnnelson@google.com> Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com> Reviewed-by: Dave Schuyler <dschuyler@google.com>
Fuchsia is an open source, general purpose operating system supporting modern 64-bit Intel and ARM processors.
We expect everyone interacting with our project to respect our code of conduct.
Read more about Fuchsia's principles.
See Getting Started.
See fuchsia.dev.