commit | 6eee1ae38bda44a4a620f9547cd6c011a15232a5 | [log] [tgz] |
---|---|---|
author | Jiyong Park <jiyong@google.com> | Wed Jun 12 16:25:04 2019 +0900 |
committer | Jiyong Park <jiyong@google.com> | Fri Jun 14 14:29:36 2019 +0900 |
tree | 4e0cfeb2622ad0101466294bb02e965fd88cd80b | |
parent | bac68493368033ef286a85ca8e62564b3b1d51dc [diff] |
Add Errorf and ErrnoErrorf String formatting for error message can be done by using Errorf and ErrnoErrorf. e.g. `return Errorf("{} failures", num_failure);` The string format follows that of fmtlib, not printf. Bug: 132145659 Test: libbase_test Change-Id: I65f45d5f12ed23e2c14d6eb442278f467cc42e83