| Extracted from Pike v7.8 release 866 at 2018-07-18.

[Top]
Locale
Locale.Charset

# Method Locale.Charset.decode_error()

Method decode_error

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

Description

  Throws a DecodeError exception. See DecodeError.create for details about the arguments. If args is given then the error reason is formatted using `sprintf(<font face='courier'>reason` , @<font face='courier'>args ).