function::error3stap
Send an error message
Usage
error(msg:string)
Arguments
msg
The formatted message string
Overview
An implicit end-of-line is added. staprun prepends the string “ERROR:”. Sending an error message aborts the currently running probe. Depending on the MAXERRORS parameter, it may trigger an exit.
See ALSO0
Releases
8 releases since Debian 6.0 (Squeeze); the text changed 7 times.