From 2938ef8fcf2518f5c3fbed1e7dc83db743bc3722 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Harboe?= Date: Fri, 6 Mar 2026 07:34:18 +0100 Subject: [PATCH] Update Errors section to reference Logger instead of removed Error.hh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Øyvind Harboe --- docs/contrib/DeveloperGuide.md | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/docs/contrib/DeveloperGuide.md b/docs/contrib/DeveloperGuide.md index 1d71acc55d9..126341497f3 100644 --- a/docs/contrib/DeveloperGuide.md +++ b/docs/contrib/DeveloperGuide.md @@ -143,15 +143,14 @@ manpages. ## Errors -Tools should report errors to the user using the `ord::error` function -defined in `include/openroad/Error.hh`. `ord::error` throws -`ord::Exception`. The variables `ord::exit_on_error` and -`ord::file_continue_on_error` control how the error is handled. If -`ord::exit_on_error` is `true` then OpenROAD reports the error and exits. If -the error is encountered while reading a file with the `source` or -`read_sdc` commands and `ord::file_continue_on_error` is `false` then no -other commands are read from the file. The default value is `false` for both -variables. +Tools should report errors to the user using the logging infrastructure +described in the [Logger guide](Logger.md). The `utl::error` function +throws an exception that is caught at the Tcl command level. The variables +`exit_on_error` and `file_continue_on_error` control how the error is +handled. If `exit_on_error` is `1` then OpenROAD reports the error and +exits. If the error is encountered while reading a file with the `source` +or `read_sdc` commands and `file_continue_on_error` is `0` then no other +commands are read from the file. ## Test