forked from ObjectProfile/PythonBridge
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathPBErrorMessage.class.st
More file actions
58 lines (49 loc) · 1.01 KB
/
PBErrorMessage.class.st
File metadata and controls
58 lines (49 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
Class {
#name : #PBErrorMessage,
#superclass : #PBRSyncMessage,
#instVars : [
'commandId',
'errorMessage',
'trace'
],
#category : #'PythonBridge-Platform-Messages'
}
{ #category : #accessing }
PBErrorMessage class >> answerClass [
^ PBErrorAnswer
]
{ #category : #accessing }
PBErrorMessage class >> type [
^ #ERR
]
{ #category : #accessing }
PBErrorMessage >> commandId [
^ commandId
]
{ #category : #accessing }
PBErrorMessage >> commandId: anObject [
commandId := anObject
]
{ #category : #accessing }
PBErrorMessage >> errorMessage [
^ errorMessage
]
{ #category : #accessing }
PBErrorMessage >> errorMessage: anObject [
errorMessage := anObject
]
{ #category : #'as yet unclassified' }
PBErrorMessage >> privateDecode: dict [
super privateDecode: dict.
commandId := dict at: #commandId.
errorMessage := dict at: #errMsg.
trace := dict at: #trace
]
{ #category : #accessing }
PBErrorMessage >> trace [
^ trace
]
{ #category : #accessing }
PBErrorMessage >> trace: anObject [
trace := anObject
]