I’ve tried RTM, but: given an ICU UErrorCode, how can I obtain the corresponding error message string? I.e., ICU’s equivalent of strerror(3).
I’ve tried RTM, but: given an ICU UErrorCode , how can I obtain the
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
const char *u_errorName(UErrorCode code) is the C version of ErrorCode::errorName – but there isn’t an “error message” that is anything more than the enum name. That’s a great idea, though- I’d recommend to file a bug. Or, consider contributing the code and data? Ideally it would be a localized message…