LIMS::Web::Interface is an object-oriented Perl module designed to be the object layer between a LIMS database and its web interface.
It inherits from LIMS::Base and provides automation for HTML/CGI services required by a LIMS web interface,
enabling rapid development of Perl CGI scripts.
See LIMS::Controller for information about setting up and using the LIMS modules.

One of the main reasons for writing the LIMS modules was because I wanted to be able to deal with all errors - Perl,
CGI,
DBI - in a more efficient manner,
all at the same time.
When using LIMS::Web::Interface in isolation,
then the methods standard_error() and any_error() do the same thing,
and the kill_pipeline() method prints out errors upon killing the script.
If you have a simple situation where you want to kill the script with an error you've caught in your script,
you can combine the error with the kill_pipeline() method;

$database->kill_pipeline('got a problem');

Errors can be returned in text (rather than HTML) format by calling the method text_errors(), or printed separately without calling kill_pipeline() using the print_errors() method. If you need to, you can clear errors using clear_all_errors().