CCExtractor Development

Make error messages clearer and unambiguous

We have a few places in the program that cause an instant termination (by calling the fatal() function). A problem is that some of those calls have the same explanation text, which is makes impossible to know where the problem is. Other texts are totally out of context. For example. “Wrong type …” (of what?), “Out of memory” (requesting how much and what for?), “Impossible!” (what is). Job: For each call to fatal() add a unique code (or come up with something better) that identifies where it happened, and also replace those lazy texts with proper explanations that can help the final user understand what the problem is.

Task tags

  • c
  • error
  • messages
  • diagnostics

Students who completed this task

`w`

Task type

  • code Code
  • chrome_reader_mode Documentation / Training
  • web Design
  • done_all Quality Assurance
close

2016