From 349768f041d9c856d44d8fd9759073e53aa37555 Mon Sep 17 00:00:00 2001 From: Tomas Rivera <137088692+Totorile1@users.noreply.github.com> Date: Sun, 19 Apr 2026 18:04:14 +0200 Subject: [PATCH] Documentation: Reworked debug and error handling information in CONTRIBUTING.md --- CONTRIBUTING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e0f25a6..2436368 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -8,7 +8,7 @@ This project aims to remain minimal, terminal-focused, and easy to extend. Contr ## Debugging and error handling -Please use the standardized debugging and error-handling functions: +Please use the standardized debugging and error-handling functions defined in [/src/utils.c](./src/utils.c): * `debug(...)` Used for formatted debugging output (printf-style formatting). @@ -17,7 +17,7 @@ Please use the standardized debugging and error-handling functions: A lighter version of `debug()` when full formatting is not required. * `error(condition, "user" | "program", "error message", ...)` - Standard error reporting function: + Standard error reporting function (printf-style formatting): * `"user"`: errors caused by user input or configuration * `"program"`: internal or unexpected program errors