Project

General

Profile

Feature #1045

Error message from cocoalib to cocoa-5

Added by Anna Maria Bigatti about 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Category:
Parser/Interpreter
Start date:
13 Apr 2017
Due date:
% Done:

100%

Estimated time:
1.01 h
Spent time:

Description

improve error message given by cocoa-5 for errors arising from cocoalib


Related issues

Related to CoCoALib - Feature #92: Error CodesIn Progress2012-02-14

Related to CoCoALib - Feature #385: Design new errors using inheritanceIn Progress2013-07-08

Related to CoCoALib - Feature #743: Better errors: give supplementary info about the errorIn Progress2015-06-30

History

#1 Updated by Anna Maria Bigatti about 7 years ago

#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

Also available in: Atom PDF