1Test::AutoBuild::ErrorRUespeorrtC(o3n)tributed Perl DocuTmeesntt:a:tAiuotnoBuild::ErrorReport(3)
2
3
4

NAME

6       Test::AutoBuild::ErrorReport - details of a fatal error condition
7

SYNOPSIS

9         use Test::AutoBuild::ErrorReport;
10
11         # Create a new platform based on the host machine's native
12         # environment
13         $SIG{__DIE__} = sub {
14           my $error = Test::AutoBuild::ErrorReport->new($_[0]);
15           $error.save();
16           die $error;
17         };
18

METHODS

20       my $error = Test::AutoBuild::ErrorReport->new(message => $message,
21       [trace => $stacktrace,]);
22           Creates a new error report with the error message passed via the
23           "message" parameter. The optional "stacktrace" parameter can pro‐
24           vide a call / stack trace, and if omitted will be filled in auto‐
25           matically using "Carp::longmess".  The optional "engine" parameter
26           can be used to pass in an instance of the "Test::AutoBuild" class
27           associated with the error.
28

AUTHORS

30       Daniel Berrange <dan@berrange.com>, Dennis Gregorovic <dgre‐
31       gorovic@alum.mit.edu>
32
34       Copyright (C) 2005 Daniel Berrange
35

SEE ALSO

37       perl(1), Test::AutoBuild, Test::AutoBuild::Runtime
38
39
40
41perl v5.8.8                       2007-12-09   Test::AutoBuild::ErrorReport(3)
Impressum