[gtk/docs-gtk-org] Tweak the error reporting page
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/docs-gtk-org] Tweak the error reporting page
- Date: Wed, 4 Aug 2021 14:47:01 +0000 (UTC)
commit 10fe5b49daa0bffdf6beeca95cee73094b93df84
Author: Emmanuele Bassi <ebassi gnome org>
Date: Wed Aug 4 15:45:28 2021 +0100
Tweak the error reporting page
glib/glib/error-reporting.md | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/glib/glib/error-reporting.md b/glib/glib/error-reporting.md
index 376cb9b3b4..5cc9fa2271 100644
--- a/glib/glib/error-reporting.md
+++ b/glib/glib/error-reporting.md
@@ -1,5 +1,7 @@
Title: Error Reporting
+# Error Reporting
+
GLib provides a standard method of reporting errors from a called function
to the calling code. (This is the same problem solved by exceptions in other
languages.) It's important to understand that this method is both a data
@@ -256,7 +258,6 @@ Error domains and codes are conventionally named as follows:
- The error domain is called `<NAMESPACE>_<MODULE>_ERROR`, for example
`G_SPAWN_ERROR` or `G_THREAD_ERROR`:
-
```c
#define G_SPAWN_ERROR g_spawn_error_quark ()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]