From 823d3d570236e32bdbe270306df5602ff586c4a7 Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Fri, 17 May 2024 15:34:44 +0200 Subject: Error reporting revamp * set_error_reporting() is gone * new lane generator setting error_reporting_level * basic/extended stack trace is selectable at runtime instead of compile-time --- docs/index.html | 32 +++++++++++++++++++++++++++----- 1 file changed, 27 insertions(+), 5 deletions(-) (limited to 'docs') diff --git a/docs/index.html b/docs/index.html index 713955f..f34b672 100644 --- a/docs/index.html +++ b/docs/index.html @@ -702,6 +702,17 @@ ATTEMPTING TO TRANSFER A FUNCTION REGISTERED BY A MODULE NOT LISTED HERE WILL RAISE AN ERROR. + + + .error_trace_level + + string + + Sets the error reporting mode. One of "minimal" (the default), "basic", "extended".
+ "minimal" yields only the location of the error.
+ The other 2 yield a full stack trace, with different amounts of data extracted from the debug infos. See Results. + + .name @@ -817,6 +828,21 @@

+ +
+

Error trace level

+ + + + + +
+
	str = lane_h.error_trace_level
+
+

+ Read back the value set during lane generation, one of "basic", "minimal", "extended". +

+

Status

@@ -926,12 +952,8 @@

Results and errors

-
-	set_error_reporting("basic"|"extended")
-
-

- Sets the error reporting mode. "basic" is selected by default. + Error reporting level is set in the lane generator settings.

-- cgit v1.2.3-55-g6feb