diff options
| author | Jiyong Park <jiyong@google.com> | 2019-06-12 16:25:04 +0900 |
|---|---|---|
| committer | Jiyong Park <jiyong@google.com> | 2019-06-14 14:29:36 +0900 |
| commit | 6eee1ae38bda44a4a620f9547cd6c011a15232a5 (patch) | |
| tree | 4e0cfeb2622ad0101466294bb02e965fd88cd80b /libutils/Unicode.cpp | |
| 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
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions
