File Coverage

blib/lib/Rarbg/torrentapi/Error.pm
Criterion Covered Total %
statement 11 11 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 15 15 100.0


line stmt bran cond sub pod time code
1             package Rarbg::torrentapi::Error;
2              
3 2     2   78872 use strict;
  2         12  
  2         58  
4 2     2   45 use 5.008_005;
  2         15  
5             our $VERSION = 'v0.1.1';
6 2     2   529 use Moose;
  2         461183  
  2         14  
7              
8             has 'error' => (
9             is => 'ro',
10             isa => 'Str'
11             );
12              
13             has 'error_code' => (
14             is => 'ro',
15             isa => 'Int'
16             );
17              
18 2     2   14491 no Moose;
  2         6  
  2         13  
19             __PACKAGE__->meta->make_immutable;
20             1;
21             __END__
22              
23             =encoding utf-8
24              
25             =head1 NAME
26              
27             Rarbg::torrentapi::Error - Error response class for Rarbg::torrentapi
28              
29             =head1 DESCRIPTION
30              
31             This is not meant to be used directly, see Rarbg::torrentapi
32              
33             =head1 AUTHOR
34              
35             Paco Esteban E<lt>paco@onna.beE<gt>
36              
37             =head1 COPYRIGHT
38              
39             Copyright 2015- Paco Esteban
40              
41             =head1 LICENSE
42              
43             This library is free software; you can redistribute it and/or modify
44             it under the same terms as Perl itself.
45              
46             =head1 SEE ALSO
47              
48             =cut