blob: c275dafc5fe51cb236d5caed35b7556ec8c15d97 [file] [log] [blame]
#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