fix: register encoder's doc incorrectly mentions TypeError (#384)

Since #358, custom encoders are expected to raise a ConvertError instead
of a TypeError, but the docstring of register_encoder still mentions
TypeError. Fix this to mention ConvertError instead.

GitOrigin-RevId: 2777bedb901e11064b4405d9f32c11af7ae54d24
Change-Id: I4c92a6f9e683495cf04e54e94a67d064947457a2
diff --git a/tomlkit/api.py b/tomlkit/api.py
index a7f6a61..0eb3464 100644
--- a/tomlkit/api.py
+++ b/tomlkit/api.py
@@ -298,7 +298,7 @@
 def register_encoder(encoder: E) -> E:
     """Add a custom encoder, which should be a function that will be called
     if the value can't otherwise be converted. It should takes a single value
-    and return a TOMLKit item or raise a ``TypeError``.
+    and return a TOMLKit item or raise a ``ConvertError``.
     """
     CUSTOM_ENCODERS.append(encoder)
     return encoder