1Test::Stream::Event::ExUcseeprtiCoonn(t3r)ibuted Perl DoTceusmte:n:tSattrieoanm::Event::Exception(3)
2
3
4

NAME

6       Test::Stream::Event::Exception - Exception event
7

DEPRECATED

9       This distribution is deprecated in favor of Test2, Test2::Suite, and
10       Test2::Workflow.
11
12       See Test::Stream::Manual::ToTest2 for a conversion guide.
13

DESCRIPTION

15       An exception event will display to STDERR, and will prevent the overall
16       test file from passing.
17

SYNOPSIS

19           use Test::Stream::Context qw/context/;
20           use Test::Stream::Event::Exception;
21
22           my $ctx = context();
23           my $event = $ctx->send_event('Exception', error => 'Stuff is broken');
24

METHODS

26       Inherits from Test::Stream::Event. Also defines:
27
28       $reason = $e->error
29           The reason for the exception.
30

SOURCE

32       The source code repository for Test::Stream can be found at
33       http://github.com/Test-More/Test-Stream/.
34

MAINTAINERS

36       Chad Granum <exodist@cpan.org>
37

AUTHORS

39       Chad Granum <exodist@cpan.org>
40
42       Copyright 2015 Chad Granum <exodist7@gmail.com>.
43
44       This program is free software; you can redistribute it and/or modify it
45       under the same terms as Perl itself.
46
47       See http://dev.perl.org/licenses/
48
49
50
51perl v5.30.0                      2019-07-26 Test::Stream::Event::Exception(3)
Impressum