The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Test::Pcuke::Executor::StepFailure - The great new Test::Pcuke::Executor::StepFailure!

SYNOPSIS

Here is a somewhat artificial example:

    use Test::Pcuke::Executor::StepFailure;
    
	my $exception;
	
	{
		local $@;
		eval {
    		die Test::Pcuke::Executor::StepFailure->new('message');	
		};
		$exception = $@;
	}
	
	if (ref $exception eq 'Test::Pcuke::Executor::StepFailure' ) {
		print "Failure: " . $exception->message;
	}
	else {
		die $exception;
	}
    

METHODS

new $message

message

Returns a message passed to the constructor

AUTHOR

Andrei V. Toutoukine, <tut at isuct.ru>

BUGS

Please report any bugs or feature requests to bug-/home/tut/bin/src/test-pcuke at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=/home/tut/bin/src/Test-Pcuke. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Test::Pcuke::Executor::StepFailure

You can also look for information at:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

Copyright 2011 Andrei V. Toutoukine.

This program is released under the following license: artistic