FUNCTION::ERROR

Section: Logging Tapset (3stap)
Updated: March 2014
Index Return to Main Contents
 

NAME

function::error - Send an error message  

SYNOPSIS

    error(msg:string)
 

ARGUMENTS

msg

The formatted message string
 

DESCRIPTION

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.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 10:39:26 GMT, March 18, 2014