commit | 20524ed6a241146f99617699989c926b00e5665e | [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 | 3fcd831a6d2dfed2233685e94018b15c122d6d7e [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