From 054899c9e5aa8e7d0824646831ed236c99eaae63 Mon Sep 17 00:00:00 2001 From: Lexi Winter Date: Sat, 29 Mar 2025 04:58:49 +0000 Subject: nvxx.3: improve set_error() description --- libnvxx/nvxx.3 | 3 +++ 1 file changed, 3 insertions(+) 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 , -- cgit v1.2.3