Feature #1045
Error message from cocoalib to cocoa-5
Status:
Closed
Priority:
Normal
Assignee:
Category:
Parser/Interpreter
Target version:
Description
improve error message given by cocoa-5 for errors arising from cocoalib
Related issues
History
#1 Updated by Anna Maria Bigatti about 7 years ago
- Related to Feature #92: Error Codes added
#2 Updated by Anna Maria Bigatti about 7 years ago
- Related to Feature #385: Design new errors using inheritance added
#3 Updated by Anna Maria Bigatti about 7 years ago
- Related to Feature #743: Better errors: give supplementary info about the error added
#4 Updated by Anna Maria Bigatti about 7 years ago
- Category set to Parser/Interpreter
- Status changed from New to Feedback
- % Done changed from 0 to 90
Following what I said here:
https://cocoa.dima.unige.it/redmine/issues/743#note-7
I added in Interpreter.C
a function called MESSAGE(err)
to be called instead of message(err)
. This new function combines message
and context
for cocoalib errors, so it gives the right context (indeed!) even for obscure internal errors.
#5 Updated by Anna Maria Bigatti almost 7 years ago
- Estimated time set to 1.01 h
function renamed message_forC5
and moved in CoCoALibSupplement
#6 Updated by Anna Maria Bigatti almost 7 years ago
- Status changed from Feedback to Closed
- % Done changed from 90 to 100