Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]
Locale
Locale.Charset

Method Locale.Charset.encode_error()


Method encode_error

void encode_error(string err_str, int err_pos, string charset, void|string reason, void|mixed ... args)

Description

Throws an EncodeError exception. See EncodeError.create for details about the arguments. If args is given then the error reason is formatted using sprintf(reason , @args ).