Files
build/tools/aconfig
Mårten Kongstad cd414d4c2e aconfig: improve error messages
Propagate anyhow errors to main.rs and commands.rs to improve the error
message. As an example. instead of just "bad flag declaration: exactly
one bug required", aconfig will now print the following.

---- 8< ----
Error: failed to create cache

Caused by:
    0: failed to parse build/make/tools/aconfig/tests/test.aconfig
    1: bad flag declaration: missing description
---- >8 ----

Error messages can be improved further by including additional
information in the protos.rs error cases. This will be handled in a
follow-up CL.

Bug: 290300657
Test: manual: introduce error in an aconfig file and run `m all_aconfig_declarations`
Test: atest aconfig.test
Change-Id: Id278f4877e5794b95913ae8ba0ca3ee211293f38
2023-07-27 15:54:45 +02:00
..
2023-06-22 16:50:33 +02:00
2023-07-27 15:54:45 +02:00
2023-05-03 09:41:11 +02:00
2023-05-03 09:41:11 +02:00
2023-06-22 16:50:33 +02:00
2023-05-02 17:36:30 +02:00
2023-05-02 17:36:30 +02:00
2023-05-02 17:36:30 +02:00
2023-06-30 03:28:02 +00:00