Rechercher une page de manuel
Test::AutoBuild::ErrorReport.3pm
Langue: en
Version: 2007-12-08 (fedora - 01/12/10)
Section: 3 (Bibliothèques de fonctions)
NAME
Test::AutoBuild::ErrorReport - details of a fatal error conditionSYNOPSIS
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; };
METHODS
- my $error = Test::AutoBuild::ErrorReport->new(message => $message, [trace => $stacktrace,]);
- 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.
AUTHORS
Daniel Berrange <dan@berrange.com>, Dennis Gregorovic <dgregorovic@alum.mit.edu>COPYRIGHT
Copyright (C) 2005 Daniel BerrangeSEE ALSO
perl(1), Test::AutoBuild, Test::AutoBuild::RuntimeContenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre