line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package WWW::Mediawiki::Client::Exceptions; |
2
|
|
|
|
|
|
|
|
3
|
4
|
|
|
4
|
|
24719
|
use strict; |
|
4
|
|
|
|
|
8
|
|
|
4
|
|
|
|
|
169
|
|
4
|
4
|
|
|
4
|
|
22
|
use warnings; |
|
4
|
|
|
|
|
6
|
|
|
4
|
|
|
|
|
7208
|
|
5
|
|
|
|
|
|
|
use Exception::Class ( |
6
|
|
|
|
|
|
|
|
7
|
4
|
|
|
|
|
182
|
'WWW::Mediawiki::Client::Exception' => |
8
|
|
|
|
|
|
|
{ description => 'A base clase for WWW::Mediawiki::Client exceptions.'}, |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
'WWW::Mediawiki::Client::URLConstructionException' => |
11
|
|
|
|
|
|
|
{ |
12
|
|
|
|
|
|
|
isa => 'WWW::Mediawiki::Client::Exception', |
13
|
|
|
|
|
|
|
description => 'Indicates a problem with the URL with which we to call the Mediawiki server.', |
14
|
|
|
|
|
|
|
}, |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
'WWW::Mediawiki::Client::AuthException' => |
17
|
|
|
|
|
|
|
{ |
18
|
|
|
|
|
|
|
isa => 'WWW::Mediawiki::Client::Exception', |
19
|
|
|
|
|
|
|
description => 'Indicates a problem with the provided authentication information', |
20
|
|
|
|
|
|
|
}, |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
'WWW::Mediawiki::Client::LoginException' => |
23
|
|
|
|
|
|
|
{ |
24
|
|
|
|
|
|
|
isa => 'WWW::Mediawiki::Client::Exception', |
25
|
|
|
|
|
|
|
description => 'Indicates that login failed for an unknown reason', |
26
|
|
|
|
|
|
|
fields => ['res', 'cookie_jar'], |
27
|
|
|
|
|
|
|
}, |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
'WWW::Mediawiki::Client::CookieJarException' => |
30
|
|
|
|
|
|
|
{ |
31
|
|
|
|
|
|
|
isa => 'WWW::Mediawiki::Client::Exception', |
32
|
|
|
|
|
|
|
description => 'Something went wrong saving or loading the cookie jar', |
33
|
|
|
|
|
|
|
}, |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
'WWW::Mediawiki::Client::FileAccessException' => |
36
|
|
|
|
|
|
|
{ |
37
|
|
|
|
|
|
|
isa => 'WWW::Mediawiki::Client::Exception', |
38
|
|
|
|
|
|
|
description => 'Something went wrong saving or loading a file', |
39
|
|
|
|
|
|
|
}, |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
'WWW::Mediawiki::Client::FileTypeException' => |
42
|
|
|
|
|
|
|
{ |
43
|
|
|
|
|
|
|
isa => 'WWW::Mediawiki::Client::Exception', |
44
|
|
|
|
|
|
|
description => 'The file which we attempted to operate on is not a .wiki file', |
45
|
|
|
|
|
|
|
}, |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
'WWW::Mediawiki::Client::AbsoluteFileNameException' => |
48
|
|
|
|
|
|
|
{ |
49
|
|
|
|
|
|
|
isa => 'WWW::Mediawiki::Client::Exception', |
50
|
|
|
|
|
|
|
description => 'The file which we attempted to operate on is not a .wiki file', |
51
|
|
|
|
|
|
|
}, |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
'WWW::Mediawiki::Client::CommitException' => |
54
|
|
|
|
|
|
|
{ |
55
|
|
|
|
|
|
|
isa => 'WWW::Mediawiki::Client::Exception', |
56
|
|
|
|
|
|
|
description => 'Something went wrong while committing a change.', |
57
|
|
|
|
|
|
|
fields => ['res'], |
58
|
|
|
|
|
|
|
}, |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
'WWW::Mediawiki::Client::CommitMessageException' => |
61
|
|
|
|
|
|
|
{ |
62
|
|
|
|
|
|
|
isa => 'WWW::Mediawiki::Client::Exception', |
63
|
|
|
|
|
|
|
description => 'There is a problem with the commit message', |
64
|
|
|
|
|
|
|
}, |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
'WWW::Mediawiki::Client::PageDoesNotExistException' => |
67
|
|
|
|
|
|
|
{ |
68
|
|
|
|
|
|
|
isa => 'WWW::Mediawiki::Client::Exception', |
69
|
|
|
|
|
|
|
description => 'There is no such page, either here or on the server', |
70
|
|
|
|
|
|
|
}, |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
'WWW::Mediawiki::Client::UpdateNeededException' => |
73
|
|
|
|
|
|
|
{ |
74
|
|
|
|
|
|
|
isa => 'WWW::Mediawiki::Client::Exception', |
75
|
|
|
|
|
|
|
description => 'The page on the server has changed since the local file was last updated', |
76
|
|
|
|
|
|
|
}, |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
'WWW::Mediawiki::Client::ConflictsPresentException' => |
79
|
|
|
|
|
|
|
{ |
80
|
|
|
|
|
|
|
isa => 'WWW::Mediawiki::Client::Exception', |
81
|
|
|
|
|
|
|
description => 'An attempt was made to commit a file containing conflicts', |
82
|
|
|
|
|
|
|
}, |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
'WWW::Mediawiki::Client::CorruptedConfigFileException' => |
85
|
|
|
|
|
|
|
{ |
86
|
|
|
|
|
|
|
isa => 'WWW::Mediawiki::Client::Exception', |
87
|
|
|
|
|
|
|
description => 'The configuration file cannot be parsed.', |
88
|
|
|
|
|
|
|
}, |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
'WWW::Mediawiki::Client::ServerPageException' => |
91
|
|
|
|
|
|
|
{ |
92
|
|
|
|
|
|
|
isa => 'WWW::Mediawiki::Client::Exception', |
93
|
|
|
|
|
|
|
description => 'Something went wrong fetching the server page.', |
94
|
|
|
|
|
|
|
fields => ['res'], |
95
|
|
|
|
|
|
|
}, |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
'WWW::Mediawiki::Client::ReadOnlyFieldException' => |
98
|
|
|
|
|
|
|
{ |
99
|
|
|
|
|
|
|
isa => 'WWW::Mediawiki::Client::Exception', |
100
|
|
|
|
|
|
|
description => 'Client code tried to set a read-only field.', |
101
|
|
|
|
|
|
|
}, |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
'WWW::Mediawiki::Client::InvalidOptionException' => |
104
|
|
|
|
|
|
|
{ |
105
|
|
|
|
|
|
|
isa => 'WWW::Mediawiki::Client::Exception', |
106
|
|
|
|
|
|
|
description => 'Client code tried to set an option to a value' |
107
|
|
|
|
|
|
|
. ' that cannot be used under the circumstances.', |
108
|
|
|
|
|
|
|
fields => ['field', 'option', 'value'], |
109
|
|
|
|
|
|
|
}, |
110
|
4
|
|
|
4
|
|
4933
|
); |
|
4
|
|
|
|
|
77100
|
|
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
WWW::Mediawiki::Client::Exception->Trace(1); |
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
1; |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
__END__ |