aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLexi Winter <lexi@hemlock.eden.le-fay.org>2025-03-29 04:58:49 +0000
committerLexi Winter <lexi@hemlock.eden.le-fay.org>2025-03-29 04:58:49 +0000
commit054899c9e5aa8e7d0824646831ed236c99eaae63 (patch)
tree84e90f88d44971cb4c74055a567d71c09a156cfd
parent249a5b6421098ccaa6d269afac2b0ee67f389860 (diff)
downloadlibnvxx-054899c9e5aa8e7d0824646831ed236c99eaae63.tar.gz
libnvxx-054899c9e5aa8e7d0824646831ed236c99eaae63.tar.bz2
nvxx.3: improve set_error() description
-rw-r--r--libnvxx/nvxx.33
1 files changed, 3 insertions, 0 deletions
diff --git a/libnvxx/nvxx.3 b/libnvxx/nvxx.3
index ed3dfae..904eabe 100644
--- a/libnvxx/nvxx.3
+++ b/libnvxx/nvxx.3
@@ -598,6 +598,9 @@ The
.Fn set_error
member function sets the given error on the nvlist, placing it in the error
state.
+If the nvlist is already in the error state, then an exception of type
+.Vt nv_error_state
+is thrown and the error state is not changed.
.Pp
The
.Fn add_null ,