/usr/share/perl5/JE/Object/Error/RangeError.pm is in libje-perl 0.056-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 | package JE::Object::Error::RangeError;
our $VERSION = '0.056';
use strict;
use warnings;
our @ISA = 'JE::Object::Error';
require JE::Object::Error;
require JE::String;
=head1 NAME
JE::Object::Error::RangeError - JavaScript RangeError object class
=head1 SYNOPSIS
use JE::Object::Error::RangeError;
# Somewhere in code called by an eval{}
die new JE::Object::Error::RangeError $global, "(Error message here)";
# Later:
$@->prop('message'); # error message
$@->prop('name'); # 'RangeError'
"$@"; # 'RangeError: ' plus the error message
=head1 DESCRIPTION
This class implements JavaScript RangeError objects for JE.
=head1 METHODS
See L<JE::Types> and L<JE::Object::Error>.
=cut
sub name { q sRangeErrors }
return "a true value";
=head1 SEE ALSO
=over 4
=item L<JE>
=item L<JE::Types>
=item L<JE::Object>
=item L<JE::Object::Error>
=cut
|