Ruler icon indicating copy to clipboard operation
Ruler copied to clipboard

Issues #41 Add errors when assert operators.

Open vonglasow opened this issue 10 years ago • 7 comments

When operators are evaluated, we can found some asserter false. This patch add a management of errors in the asserter. Operators name and value is added in errors stack to identify which operator fail.

Two methods are available to identify if we have errors and to get there errors:

  • hasErrors return a boolean which identify if some errors have been raised.
  • getErrors return an array with operator name as key and arguments as values. #41

vonglasow avatar Apr 06 '15 20:04 vonglasow

How do you reset the list of errors from one execution to another?

Hywan avatar Apr 07 '15 06:04 Hywan

It's not possible for now to reset this list of errors from one execution to another. I will add it.

Thanks for your feedback

vonglasow avatar Apr 07 '15 11:04 vonglasow

Add resetErrors method!

vonglasow avatar Apr 08 '15 07:04 vonglasow

Don't rebase your patches each time. Just at the end.

Good to have a resetErrors method but it needs to run automatically between to assert.

Hywan avatar Apr 08 '15 07:04 Hywan

@vonglasow ping?

Hywan avatar Jul 27 '15 07:07 Hywan

Yep sorry stand by during too long I will try to finish it ASAP

vonglasow avatar Jul 27 '15 07:07 vonglasow

No hurry :smiley:!

Hywan avatar Jul 27 '15 07:07 Hywan