line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package PLS::Server::Response::ServerNotInitialized; |
2
|
|
|
|
|
|
|
|
3
|
9
|
|
|
9
|
|
62
|
use strict; |
|
9
|
|
|
|
|
10
|
|
|
9
|
|
|
|
|
225
|
|
4
|
9
|
|
|
9
|
|
45
|
use warnings; |
|
9
|
|
|
|
|
18
|
|
|
9
|
|
|
|
|
211
|
|
5
|
|
|
|
|
|
|
|
6
|
9
|
|
|
9
|
|
46
|
use parent q(PLS::Server::Response); |
|
9
|
|
|
|
|
18
|
|
|
9
|
|
|
|
|
45
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
=head1 NAME |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
PLS::Server::Response::ServerNotInitialized |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
=head1 DESCRIPTION |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
This is an error sent from the server to the client indicating that the |
15
|
|
|
|
|
|
|
client sent a request before the server was initialized. |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
=cut |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
sub new |
20
|
|
|
|
|
|
|
{ |
21
|
1
|
|
|
1
|
0
|
11
|
my ($class, $request) = @_; |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
my %self = ( |
24
|
|
|
|
|
|
|
id => $request->{id}, |
25
|
1
|
|
|
|
|
42
|
error => { |
26
|
|
|
|
|
|
|
code => -32002, |
27
|
|
|
|
|
|
|
message => 'server not yet initialized' |
28
|
|
|
|
|
|
|
} |
29
|
|
|
|
|
|
|
); |
30
|
|
|
|
|
|
|
|
31
|
1
|
|
|
|
|
14
|
return bless \%self, $class; |
32
|
|
|
|
|
|
|
} ## end sub new |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
1; |