Thanks Ben,
in the meantime I come to a solution that looks like your second suggestion.
However, I use the already existing methodsignal: withTag: .
pduDestruct
| result |
result := call ffiPDUDestruct.
result = T_PDU_ERROR PDU_STATUS_NOERROR
ifFalse: [ DPD
Sorry for the slow response. Perhaps you've already worked it out, but
anyway a few options...
You "could" pass thisContext as a block parameter
initialize
errorBlock := [ :tPduError :aContext | Error signal:'Method: ' ,
aContext selector
asString , ' with result: ', tPduError item asStr
Hello,
I would like to output the method name as a string in case of an error.
what I've already done is this: (with thisContext selector asString)
pduDestruct
| result |
result := call ffiPDUDestruct.
result = T_PDU_ERROR PDU_STATUS_NOERROR
ifFalse: [ Error signal:'Meth