Skip to content

Commit

Permalink
Merge remote-tracking branch 'smoot/topic/smoot/reporter'
Browse files Browse the repository at this point in the history
* smoot/topic/smoot/reporter:
  Update reporter.bif.zeek.rst to describe special case of errors in init
  • Loading branch information
timwoj committed Apr 26, 2024
2 parents 638aede + 3b6f8eb commit 80d0c34
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions scripts/base/bif/reporter.bif.zeek.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ Functions
#########
========================================================================== ========================================================================
:zeek:id:`Reporter::conn_weird`: :zeek:type:`function` Generates a "conn" weird.
:zeek:id:`Reporter::error`: :zeek:type:`function` Generates a non-fatal error indicative of a definite problem that should
be addressed.
:zeek:id:`Reporter::error`: :zeek:type:`function` Generates a usually non-fatal error indicative of a definite problem that
should be addressed.
:zeek:id:`Reporter::fatal`: :zeek:type:`function` Generates a fatal error on stderr and terminates program execution.
:zeek:id:`Reporter::fatal_error_with_core`: :zeek:type:`function` Generates a fatal error on stderr and terminates program execution
after dumping a core file
Expand Down Expand Up @@ -74,7 +74,8 @@ Functions
:Type: :zeek:type:`function` (msg: :zeek:type:`string`) : :zeek:type:`bool`

Generates a non-fatal error indicative of a definite problem that should
be addressed. Program execution does not terminate.
be addressed. Program execution does not terminate unless the error is
reported during initialization (e.g., :zeek:see:`zeek_init`).


:param msg: The error message to report.
Expand Down

0 comments on commit 80d0c34

Please sign in to comment.