diff options
Diffstat (limited to 'docs/guide')
-rw-r--r-- | docs/guide/api/error_handling.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/guide/api/error_handling.rst b/docs/guide/api/error_handling.rst index fc873ce8..e392cca2 100644 --- a/docs/guide/api/error_handling.rst +++ b/docs/guide/api/error_handling.rst @@ -15,7 +15,7 @@ subclassing for different error types. Instead, every :obj:`GLib.Error` instance has attributes that distinguish types of error: * :attr:`GLib.Error.domain` is the error domain, usually a string that you can - convert to a ``GLib`` quark with :func:`GLib.quark_to_string` + convert to a ``GLib`` quark with :func:`GLib.quark_from_string` * :attr:`GLib.Error.code` identifies a specific error within the domain * :attr:`GLib.Error.message` is a human-readable description of the error |