Extracted from as of .
   

Class Locale.Charset.EncodeError

Inheritance graph
Error.Generic Locale.Charset.EncodeError
Description

Error thrown when encode fails (and no replacement char or replacement callback has been registered).

FIXME

This error class is not actually used by this module yet - encode errors are still thrown as untyped error arrays. At this point it exists only for use by other modules.


Variable charset

string Locale.Charset.EncodeError.charset

Description

The encoding charset, typically as known to Locale.Charset.encoder.

Note

Other code may produce errors of this type. In that case this name is something that Locale.Charset.encoder does not accept (unless it implements exactly the same charset), and it should be reasonably certain that Locale.Charset.encoder never accepts that name in the future (unless it is extended to implement exactly the same charset).


Variable err_pos

int Locale.Charset.EncodeError.err_pos

Description

The failing position in err_str.


Variable err_str

string Locale.Charset.EncodeError.err_str

Description

The string that failed to be encoded.


Inherit Generic

inherit Error.Generic : Generic