Update reporter.bif to describe special case of errors in init

Originally proposed in zeek/zeek-docs#257, but reverted via
9f9ebde62380a3012a1471d9ff1c1c91c7aa69da.
This commit is contained in:
Smoot 2024-06-04 11:52:07 +02:00 committed by Arne Welzel
parent 29d66ec197
commit f20d505007

View file

@ -43,8 +43,9 @@ function Reporter::warning%(msg: string%): bool
return zeek::val_mgr->True(); return zeek::val_mgr->True();
%} %}
## Generates a non-fatal error indicative of a definite problem that should ## Generates a usually non-fatal error indicative of a definite problem that
## be addressed. Program execution does not terminate. ## should be addressed. Program execution does not terminate unless the error
## is reported during initialization (e.g., :zeek:see:`zeek_init`).
## ##
## msg: The error message to report. ## msg: The error message to report.
## ##