line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Activiti::Rest::Error; |
2
|
1
|
|
|
1
|
|
7
|
use Activiti::Sane; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
3
|
1
|
|
|
1
|
|
31
|
use Moo; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
6
|
|
4
|
|
|
|
|
|
|
extends 'Throwable::Error'; |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
has status_code => ( |
7
|
|
|
|
|
|
|
is => 'ro', |
8
|
|
|
|
|
|
|
required => 1 |
9
|
|
|
|
|
|
|
); |
10
|
|
|
|
|
|
|
#prior to activiti version 5.17, now exception |
11
|
|
|
|
|
|
|
has error_message => ( |
12
|
|
|
|
|
|
|
is => 'ro', |
13
|
|
|
|
|
|
|
required => 1 |
14
|
|
|
|
|
|
|
); |
15
|
|
|
|
|
|
|
#from activiti version 5.17, formerly errorMessage |
16
|
|
|
|
|
|
|
has exception => ( |
17
|
|
|
|
|
|
|
is => 'ro', |
18
|
|
|
|
|
|
|
required => 1 |
19
|
|
|
|
|
|
|
); |
20
|
|
|
|
|
|
|
has content_type => ( |
21
|
|
|
|
|
|
|
is => 'ro', |
22
|
|
|
|
|
|
|
required => 1 |
23
|
|
|
|
|
|
|
); |
24
|
|
|
|
|
|
|
has content => ( |
25
|
|
|
|
|
|
|
is => 'ro', |
26
|
|
|
|
|
|
|
required => 1, |
27
|
|
|
|
|
|
|
); |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
#see: http://www.activiti.org/userguide/#N12F88 for status codes |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
package Activiti::Rest::Error::UnAuthorized; |
32
|
1
|
|
|
1
|
|
489
|
use Activiti::Sane; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
4
|
|
33
|
1
|
|
|
1
|
|
28
|
use Moo; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
14
|
|
34
|
|
|
|
|
|
|
extends 'Activiti::Rest::Error'; |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
package Activiti::Rest::Error::Forbidden; |
37
|
1
|
|
|
1
|
|
332
|
use Activiti::Sane; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
38
|
1
|
|
|
1
|
|
39
|
use Moo; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
39
|
|
|
|
|
|
|
extends 'Activiti::Rest::Error'; |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
package Activiti::Rest::Error::NotFound; |
43
|
1
|
|
|
1
|
|
338
|
use Activiti::Sane; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
15
|
|
44
|
1
|
|
|
1
|
|
29
|
use Moo; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
4
|
|
45
|
|
|
|
|
|
|
extends 'Activiti::Rest::Error'; |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
package Activiti::Rest::Error::MethodNotAllowed; |
48
|
1
|
|
|
1
|
|
360
|
use Activiti::Sane; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
3
|
|
49
|
1
|
|
|
1
|
|
29
|
use Moo; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
4
|
|
50
|
|
|
|
|
|
|
extends 'Activiti::Rest::Error'; |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
package Activiti::Rest::Error::Conflict; |
53
|
1
|
|
|
1
|
|
368
|
use Activiti::Sane; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
4
|
|
54
|
1
|
|
|
1
|
|
38
|
use Moo; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
5
|
|
55
|
|
|
|
|
|
|
extends 'Activiti::Rest::Error'; |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
package Activiti::Rest::Error::UnsupportedMediaType; |
58
|
1
|
|
|
1
|
|
350
|
use Activiti::Sane; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
4
|
|
59
|
1
|
|
|
1
|
|
28
|
use Moo; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
4
|
|
60
|
|
|
|
|
|
|
extends 'Activiti::Rest::Error'; |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
package Activiti::Rest::Error::InternalServerError; |
63
|
1
|
|
|
1
|
|
357
|
use Activiti::Sane; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
4
|
|
64
|
1
|
|
|
1
|
|
38
|
use Moo; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
4
|
|
65
|
|
|
|
|
|
|
extends 'Activiti::Rest::Error'; |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
1; |