View | Details | Raw Unified | Return to bug 17499
Collapse All | Expand All

(-)a/Koha/Exceptions.pm (-2 / +13 lines)
Lines 8-13 use Exception::Class ( Link Here
8
    'Koha::Exceptions::Exception' => {
8
    'Koha::Exceptions::Exception' => {
9
        description => 'Something went wrong!',
9
        description => 'Something went wrong!',
10
    },
10
    },
11
12
    'Koha::Exceptions::BadParameter' => {
13
        isa => 'Koha::Exceptions::Exception',
14
        description => 'Bad given parameter',
15
        fields => ['parameter'],
16
    },
11
    'Koha::Exceptions::DuplicateObject' => {
17
    'Koha::Exceptions::DuplicateObject' => {
12
        isa => 'Koha::Exceptions::Exception',
18
        isa => 'Koha::Exceptions::Exception',
13
        description => 'Same object already exists',
19
        description => 'Same object already exists',
Lines 22-28 use Exception::Class ( Link Here
22
    },
28
    },
23
    'Koha::Exceptions::MissingParameter' => {
29
    'Koha::Exceptions::MissingParameter' => {
24
        isa => 'Koha::Exceptions::Exception',
30
        isa => 'Koha::Exceptions::Exception',
25
        description => 'A required parameter is missing'
31
        description => 'A required parameter is missing',
32
        fields => ['parameter'],
33
    },
34
    'Koha::Exceptions::TooManyParameters' => {
35
        isa => 'Koha::Exceptions::Exception',
36
        description => 'Too many parameters given',
37
        fields => ['parameter'],
26
    },
38
    },
27
    'Koha::Exceptions::WrongParameter' => {
39
    'Koha::Exceptions::WrongParameter' => {
28
        isa => 'Koha::Exceptions::Exception',
40
        isa => 'Koha::Exceptions::Exception',
29
- 

Return to bug 17499