/usr/share/perl5/Test/Timer/TimeoutException.pm is in libtest-timer-perl 2.09-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 | package Test::Timer::TimeoutException;
use strict;
use warnings;
use vars qw($VERSION);
use Data::Dumper;
use base 'Error';
use overload ( '""' => 'stringify' );
$VERSION = '2.09';
sub new {
my ($self, $time) = @_;
local $Error::Depth = $Error::Depth + 1;
$self = $self->SUPER::new( -text => $time, -value => $time );
return $self;
}
1;
__END__
=pod
=head1 NAME
Test::Timer::TimeoutException - exception class for Test::Timer
=head1 VERSION
This documentation describes 2.09 of Test::Timer::TimeoutException
=head1 SYNOPSIS
use Test::Timer::TimeoutException;
throw Test::Timer::TimeoutException($timeout);
=head1 DESCRIPTION
This is an exception class for Test::Timer. It is used in conjunction with the
alarm signal and is thrown if the alarm is set of.
=head1 SUBROUTINES/METHODS
=head2 new
This is the constructor, this is called using throw, please refer to
the documentation for L<Error>, see also the SYNOPSIS.
=head1 DIAGNOSTICS
This is an exception class, it holds not special diagnostics apart from what is
described above in the general description.
=head1 CONFIGURATION AND ENVIRONMENT
This module requires no special configuration or environment.
=head1 DEPENDENCIES
=over
=item * L<Error>
=back
=head1 INCOMPATIBILITIES
This class holds no known incompatibilities.
=head1 BUGS AND LIMITATIONS
This class holds no known bugs or limitations.
=head1 TEST AND QUALITY
This class is tested as part of L<Test::Timer>
=head1 SEE ALSO
=over
=item * L<Test::Timer>
=back
=head1 AUTHOR
=over
=item * Jonas B. Nielsen (jonasbn) C<< <jonasbn at cpan.org> >>
=back
=head1 LICENSE AND COPYRIGHT
Test::Timer and related modules are (C) by Jonas B. Nielsen,
(jonasbn) 2007-2017
Test::Timer and related modules are released under the Artistic
License 2.0
Used distributions are under copyright of there respective authors and designated licenses
Image used on L<website|https://jonasbn.github.io/perl-test-timer/> is under copyright by L<Veri Ivanova|https://unsplash.com/@veri_ivanova?photo=p3Pj7jOYvnM>
=cut
|