diff options
author | Steven Laver <lavers@google.com> | 2019-12-12 15:29:36 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2019-12-12 15:29:36 +0000 |
commit | a239544c7b06814b70fd970de7eaac234682fa52 (patch) | |
tree | a4298d61f9b73642f350799b1157e49b65f4e1e8 /libutils/include/utils/Errors.h | |
parent | 63de1e1c8d7824c241f22de67edf54f4f1eaeea5 (diff) | |
parent | 5319412e5305a3b4bcecf251a2955c09a6e9837e (diff) |
Merge "Merge RP1A.191203.001" into r-keystone-qcom-dev
Diffstat (limited to 'libutils/include/utils/Errors.h')
-rw-r--r-- | libutils/include/utils/Errors.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libutils/include/utils/Errors.h b/libutils/include/utils/Errors.h index 1e0367749..d14d2231d 100644 --- a/libutils/include/utils/Errors.h +++ b/libutils/include/utils/Errors.h @@ -19,6 +19,7 @@ #include <errno.h> #include <stdint.h> #include <sys/types.h> +#include <string> namespace android { @@ -72,6 +73,9 @@ enum { UNEXPECTED_NULL = (UNKNOWN_ERROR + 8), }; +// Human readable name of error +std::string statusToString(status_t status); + // Restore define; enumeration is in "android" namespace, so the value defined // there won't work for Win32 code in a different namespace. #ifdef _WIN32 |