RIV::RivError

The RIV::RivError function provides a convenient way to display error messages.

Synopsis

RIV::RivError($class, @errorMessageStrings)

Parameters

$class
Specifies the name of the calling Perl API module (for example, RIV::App).
@errorMessageStrings
Specifies the error message string to be printed when an error occurs.

Description

The RIV::RivError function prints the error messages tagged with the name of the calling class (RIV::*) and will integrate with the forthcoming trace package.

Example Usage

RIV::RivError("RIV::App", "An error has occurred");

Returns

Upon completion, the RIV::RivError function returns no records or values.

See Also