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
24           provide a call / stack trace, and if omitted will be filled in
25           automatically using "Carp::longmess".  The optional "engine"
26           parameter can be used to pass in an instance of the
27           "Test::AutoBuild" class associated with the error.
28

AUTHORS

30       Daniel Berrange <dan@berrange.com>, Dennis Gregorovic
31       <dgregorovic@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.12.1                      2007-12-08   Test::AutoBuild::ErrorReport(3)
Impressum