5 |
require Message::Util::Error; |
require Message::Util::Error; |
6 |
|
|
7 |
sub ___error_def () {+{ |
sub ___error_def () {+{ |
8 |
|
HIERARCHY_REQUEST_ERR => { |
9 |
|
-code => 3, |
10 |
|
-subtype => { |
11 |
|
ANCESTOR_NODE_ERR => { |
12 |
|
-description => q(Specified node is an ancestor of the node or the node itself), |
13 |
|
}, |
14 |
|
CHILD_NODE_TYPE_ERR => { |
15 |
|
-description => q(This type of node cannot be inserted to this point), |
16 |
|
}, |
17 |
|
}, |
18 |
|
}, |
19 |
WRONG_DOCUMENT_ERR => { |
WRONG_DOCUMENT_ERR => { |
20 |
-code => 4, |
-code => 4, |
21 |
EXTERNAL_OBJECT_ERR => { |
-subtype => { |
22 |
-description => q(Can't insert into different document), |
EXTERNAL_OBJECT_ERR => { |
23 |
}, |
-description => q(Can't insert into different document), |
24 |
INUSE_DOCTYPE_ERR => { |
}, |
25 |
-description => q(Document type is already in use), |
INUSE_DOCTYPE_ERR => { |
26 |
|
-description => q(Document type is already in use), |
27 |
|
}, |
28 |
}, |
}, |
29 |
}, |
}, |
30 |
INVALID_CHARACTER_ERR => { |
INVALID_CHARACTER_ERR => { |
46 |
}, |
}, |
47 |
}, |
}, |
48 |
}, |
}, |
49 |
|
NOT_FOUND_ERR => { |
50 |
|
-code => 8, |
51 |
|
-subtype => { |
52 |
|
NOT_CHILD_ERR => { |
53 |
|
-description => q(Not a child of this node), |
54 |
|
}, |
55 |
|
}, |
56 |
|
}, |
57 |
NOT_SUPPORTED_ERR => { |
NOT_SUPPORTED_ERR => { |
58 |
-code => 9, |
-code => 9, |
59 |
-subtype => { |
-subtype => { |