REST/Object/Exception.pm

filter: Statementstmt 100% 14 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 18 / 18 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« REST/Transaction.pm ↑ Summary
1 #!perl
2 # PODNAME: RT::Client::REST::Object::Exception
3  
4 17 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 17 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 package RT::Client::REST::Object::Exception;
8 17 $RT::Client::REST::Object::Exception::VERSION = '0.73';
9 17 ▶use parent qw(RT::Client::REST::Exception);
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 17 ▶use RT::Client::REST::Exception (
Subroutine BEGIN: called CC=1 SCAR=0.0
12 17 'RT::Client::REST::Object::OddNumberOfArgumentsException' => {
13 isa => __PACKAGE__,
14 description => 'This means that we wanted name/value pairs',
15 },
16  
17 'RT::Client::REST::Object::InvalidValueException' => {
18 isa => __PACKAGE__,
19 description => 'Object attribute was passed an invalid value',
20 },
21  
22 'RT::Client::REST::Object::NoValuesProvidedException' => {
23 isa => __PACKAGE__,
24 description => 'Method expected parameters, but none were provided',
25 },
26  
27 'RT::Client::REST::Object::InvalidSearchParametersException' => {
28 isa => __PACKAGE__,
29 description => 'Invalid search parameters provided',
30 },
31  
32 'RT::Client::REST::Object::InvalidAttributeException' => {
33 isa => __PACKAGE__,
34 description => 'Invalid attribute name',
35 },
36  
37 'RT::Client::REST::Object::IllegalMethodException' => {
38 isa => __PACKAGE__,
39 description => 'Illegal method is called on the object',
40 },
41  
42 'RT::Client::REST::Object::NoopOperationException' => {
43 isa => __PACKAGE__,
44 description => 'The operation was a noop',
45 },
46  
47 'RT::Client::REST::Object::RequiredAttributeUnsetException' => {
48 isa => __PACKAGE__,
49 description => 'An operation failed because a required attribute ' .
50 'was not set in the object',
51 },
52 17 );
53  
54 17 1;
55  
56 __END__
« REST/Transaction.pm ↑ Summary