blib/lib/XML/Grammar/Fiction/Err.pm

filter: Statementstmt 100% 11 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 14 / 14 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/XML/Grammar/Fiction.pm ↑ Summary blib/lib/XML/Grammar/Fiction/FromProto/Node.pm »
1 package XML::Grammar::Fiction::Err;
2 19 $XML::Grammar::Fiction::Err::VERSION = '0.22.4';
3 19 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 19 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6  
7 use Exception::Class (
8 19 "XML::Grammar::Fiction::Err::Base",
9 "XML::Grammar::Fiction::Err::Base::WithOpenTag" => {
10 isa => "XML::Grammar::Fiction::Err::Base",
11 fields => [qw(opening_tag)],
12 },
13 "XML::Grammar::Fiction::Err::Parse::TagsMismatch" => {
14 isa => "XML::Grammar::Fiction::Err::Base::WithOpenTag",
15 fields => [qw(opening_tag closing_tag)],
16 },
17 "XML::Grammar::Fiction::Err::Parse::LineError" => {
18 isa => "XML::Grammar::Fiction::Err::Base",
19 fields => [qw(line)],
20 },
21 "XML::Grammar::Fiction::Err::Parse::LeadingSpace" => {
22 isa => "XML::Grammar::Fiction::Err::Parse::LineError",
23 },
24 "XML::Grammar::Fiction::Err::Parse::CannotMatchOpeningTag" => {
25 isa => "XML::Grammar::Fiction::Err::Parse::LineError",
26 },
27 "XML::Grammar::Fiction::Err::Parse::NoRightAngleBracket" => {
28 isa => "XML::Grammar::Fiction::Err::Parse::LineError",
29 },
30 "XML::Grammar::Fiction::Err::Parse::WrongClosingTagSyntax" => {
31 isa => "XML::Grammar::Fiction::Err::Parse::LineError",
32 },
33 "XML::Grammar::Fiction::Err::Parse::ProgramListingContainsTags" => {
34 isa => "XML::Grammar::Fiction::Err::Parse::LineError",
35 },
36 "XML::Grammar::Fiction::Err::Parse::ParaOpenPlusNotFollowedByTag" => {
37 isa => "XML::Grammar::Fiction::Err::Parse::LineError",
38 },
39 "XML::Grammar::Fiction::Err::Parse::TagNotClosedAtEOF" => {
40 isa => "XML::Grammar::Fiction::Err::Base::WithOpenTag",
41 },
42 19 ▶);
Subroutine BEGIN: called CC=1 SCAR=0.0
43 19 1;
44  
45 __END__
46  
47 =pod
48  
49 =encoding UTF-8
50  
51 =head1 NAME
52  
53 XML::Grammar::Fiction::Err - Exception::Class-based exceptions used by
54 XML::Grammar::Fiction
55  
56 =head1 VERSION
57  
58 version 0.22.4
59  
60 =head1 SYNOPSIS
61  
62 use XML::Grammar::Fiction::Err;
63  
64 .
65 .
66 .
67 XML::Grammar::Fiction::Err::Parse::TagsMismatch->throw(
68 error => "Tags mismatch",
69 opening_tag => Tag->new(...),
70 closing_tag => Tag->new(...),
71 );
72  
73 =head1 DESCRIPTION
74  
75 These are exceptions for L<XML::Grammar::Fiction> based on L<Exception::Class>
76  
77 =for :stopwords cpan testmatrix url bugtracker rt cpants kwalitee diff irc mailto metadata placeholders metacpan
78  
79 =head1 SUPPORT
80  
81 =head2 Websites
82  
83 The following websites have more information about this module, and may be of help to you. As always,
84 in addition to those websites please use your favorite search engine to discover more resources.
85  
86 =over 4
87  
88 =item *
89  
90 MetaCPAN
91  
92 A modern, open-source CPAN search engine, useful to view POD in HTML format.
93  
94 L<https://metacpan.org/release/XML-Grammar-Fiction>
95  
96 =item *
97  
98 RT: CPAN's Bug Tracker
99  
100 The RT ( Request Tracker ) website is the default bug/issue tracking system for CPAN.
101  
102 L<https://rt.cpan.org/Public/Dist/Display.html?Name=XML-Grammar-Fiction>
103  
104 =item *
105  
106 CPANTS
107  
108 The CPANTS is a website that analyzes the Kwalitee ( code metrics ) of a distribution.
109  
110 L<http://cpants.cpanauthors.org/dist/XML-Grammar-Fiction>
111  
112 =item *
113  
114 CPAN Testers
115  
116 The CPAN Testers is a network of smoke testers who run automated tests on uploaded CPAN distributions.
117  
118 L<http://www.cpantesters.org/distro/X/XML-Grammar-Fiction>
119  
120 =item *
121  
122 CPAN Testers Matrix
123  
124 The CPAN Testers Matrix is a website that provides a visual overview of the test results for a distribution on various Perls/platforms.
125  
126 L<http://matrix.cpantesters.org/?dist=XML-Grammar-Fiction>
127  
128 =item *
129  
130 CPAN Testers Dependencies
131  
132 The CPAN Testers Dependencies is a website that shows a chart of the test results of all dependencies for a distribution.
133  
134 L<http://deps.cpantesters.org/?module=XML::Grammar::Fiction>
135  
136 =back
137  
138 =head2 Bugs / Feature Requests
139  
140 Please report any bugs or feature requests by email to C<bug-xml-grammar-fiction at rt.cpan.org>, or through
141 the web interface at L<https://rt.cpan.org/Public/Bug/Report.html?Queue=XML-Grammar-Fiction>. You will be automatically notified of any
142 progress on the request by the system.
143  
144 =head2 Source Code
145  
146 The code is open to the world, and available for you to hack on. Please feel free to browse it and play
147 with it, or whatever. If you want to contribute patches, please send me a diff or prod me to pull
148 from your repository :)
149  
150 L<https://github.com/shlomif/fiction-xml>
151  
152 git clone git://github.com/shlomif/fiction-xml.git
153  
154 =head1 AUTHOR
155  
156 Shlomi Fish <shlomif@cpan.org>
157  
158 =head1 BUGS
159  
160 Please report any bugs or feature requests on the bugtracker website
161 L<https://github.com/shlomif/fiction-xml/issues>
162  
163 When submitting a bug or request, please include a test-file or a
164 patch to an existing test-file that illustrates the bug or desired
165 feature.
166  
167 =head1 COPYRIGHT AND LICENSE
168  
169 This software is Copyright (c) 2007 by Shlomi Fish.
170  
171 This is free software, licensed under:
172  
173 The MIT (X11) License
174  
175 =cut
« blib/lib/XML/Grammar/Fiction.pm ↑ Summary blib/lib/XML/Grammar/Fiction/FromProto/Node.pm »