You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
308 B

#include "pdx/status.h"
#include <pdx/rpc/serialization.h>
#include <string.h>
namespace android {
namespace pdx {
std::string ErrorStatus::ErrorToString(int error_code) {
char message[1024] = {};
return strerror_r(error_code, message, sizeof(message));
}
} // namespace pdx
} // namespace android