summaryrefslogtreecommitdiff
path: root/base/include/android-base/errors.h
AgeCommit message (Collapse)Author
2020-05-19Migrate system/core/base to system/libbaseBaligh Uddin
BUG: 148941208 test: TH Change-Id: I1134f1e9e968b9273748e2483bea8d25e5c9e994
2018-06-26libbase: switch to #pragma once.Elliott Hughes
Bug: N/A Test: builds Change-Id: I125498ac4257ac4e901c6f2a5f1bfac1432d859d
2016-03-23Fix <android-base/*.h> header guards.Elliott Hughes
I've been meaning to do this for a while, and it came up on the bug below that there have been conflicts with similar-named files in <base/*.h>, so let's rule out one possible explanation. Bug: http://b/27804373 Change-Id: I69e5d52b6260c573c308513420aee0e281426bd4
2016-02-01base: add SystemErrorCodeToString() function.David Pursell
Pulls the Windows error string generation out of adb into libbase so that it can be used by fastboot as well. Also makes a Unix equivalent that just wraps strerror() so that upcoming fastboot error reporting code can be platform-independent. The intent here is just to provide a portable way to report an error to the user. More general cross-platform error handling is out of scope. Bug: http://b/26236380 Change-Id: I5a784a844775949562d069bb41dcb0ebd13a32bc