Test::AutoBuild::ErrorReport - details of a fatal error condition
use Test::AutoBuild::ErrorReport; # Create a new platform based on the host machine's native # environment $SIG{__DIE__} = sub { my $error = Test::AutoBuild::ErrorReport->new($_[0]); $error.save(); die $error; };
Creates a new error report with the error message passed via the message parameter. The optional stacktrace parameter can provide a call / stack trace, and if omitted will be filled in automatically using Carp::longmess. The optional engine parameter can be used to pass in an instance of the Test::AutoBuild class associated with the error.
message
stacktrace
Carp::longmess
engine
Test::AutoBuild
Daniel Berrange <dan@berrange.com>, Dennis Gregorovic <dgregorovic@alum.mit.edu>
Copyright (C) 2005 Daniel Berrange
perl(1), Test::AutoBuild, Test::AutoBuild::Runtime
perl(1)
To install Test::AutoBuild, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::AutoBuild
CPAN shell
perl -MCPAN -e shell install Test::AutoBuild
For more information on module installation, please visit the detailed CPAN module installation guide.