开发者

ICU equivalent of strerror(3) for getting the message for a UErrorCode?

I've tried RTM, but: give开发者_开发知识库n an ICU UErrorCode, how can I obtain the corresponding error message string? I.e., ICU's equivalent of strerror(3).


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…

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜