There's a ``decode_error``. I had initially renamed ``charset_error`` to ``encode_error``, but then noticed that @jnothman used ``decode_error``.