From 351ab9f3bf86ea2d971416a759964c836e91c1b9 Mon Sep 17 00:00:00 2001 From: dkf Date: Thu, 23 May 2024 13:21:45 +0000 Subject: Clarify docs --- doc/class.n | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/class.n b/doc/class.n index 198ae41..b68af5d 100644 --- a/doc/class.n +++ b/doc/class.n @@ -83,8 +83,11 @@ resolved within the calling context's namespace if not fully qualified), passing the arguments, \fIarg ...\fR, to the constructor, and (if that returns a successful result) returning the fully qualified name of the created object (the result of the constructor is ignored). The name of the instance's -internal namespace will be \fInsName\fR unless that namespace already exists -(when an arbitrary name will be chosen instead). If the constructor fails +internal namespace will be \fInsName\fR; +.VS +it is an error if that namespace cannot be created. +.VE +If the constructor fails (i.e., returns a non-OK result) then the object is destroyed and the error message is the result of this method call. .SH EXAMPLES -- cgit v0.12