blib/lib/Zuzu/Error/Runtime.pm

filter: Statementstmt 100% 10 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod 100% 1 / 1 totaltotal 100% 14 / 14 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
kind
1.0
CRAP 1.0
« blib/lib/Zuzu/Error/Compile.pm ↑ Summary blib/lib/Zuzu/Value/Class.pm »
1 package Zuzu::Error::Runtime;
2  
3 28 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 28 our $VERSION = '0.007002';
6  
7 28 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 28 extends 'Zuzu::Error';
10  
11 121 ▶sub kind { 'RuntimeError' }
Subroutine kind: called CC=1 SCAR=0.0
Pod documented
12  
13 =pod
14  
15 =head1 NAME
16  
17 Zuzu::Error::Runtime - runtime error for evaluation/execution failures
18  
19 =head1 DESCRIPTION
20  
21 Represents failures raised while executing AST nodes.
22  
23 Typical examples include calling a non-function value, assigning to a
24 C<const> binding, invalid indexing/member operations, and missing
25 module exports at import time.
26  
27 =head1 INHERITANCE
28  
29 Inherits from L<Zuzu::Error>.
30  
31 =head1 METHODS
32  
33 =head2 kind
34  
35 Returns C<RuntimeError>.
36  
37 =head1 COPYRIGHT AND LICENCE
38  
39 B<< Zuzu::Error::Runtime >> is copyright Toby Inkster.
40  
41 It is free software; you may redistribute it and/or modify it under
42 the terms of either the Artistic License 1.0 or the GNU General Public
43 License version 2.
44  
45 =cut
46  
47 28 1;
« blib/lib/Zuzu/Error/Compile.pm ↑ Summary blib/lib/Zuzu/Value/Class.pm »