I don't have a code example here, but to me the most difficult error message is the 
one 
that happens when a function that is part of a pattern (LHS) is called which produces 
an 
error.

Since the pattern is evaluated when an assert or modify is executed by another rule's 
RHS, the error message describes the context of the second rule which is actually 
correct 
and not the first rule which has the error.

Felix Bachmann

From:                   [EMAIL PROTECTED]
Subject:                JESS: Least favorite error messages
To:                     "Jess Mailing List" <[EMAIL PROTECTED]>
Date sent:              Wed, 7 Jul 2004 08:36:47 -0700 (PDT)
Send reply to:          [EMAIL PROTECTED]

> Hi Folks,
> 
> Work progresses on Jess 7. I'm making a sweep through the code looking
> at error messages, in particular looking for ones that are hard to
> understand. I'd love it if people could help me by sharing small
> snippets of code that evoke Jess error messages that don't make sense
> or seem inappropriate -- especially parser errors that don't point to
> the real source of a problem. You can post them here or just send them
> directly to me. Speaking up now guarantees that there will be
> improvements! 
> 
> ---------------------------------------------------------
> Ernest Friedman-Hill  
> Science and Engineering PSEs        Phone: (925) 294-2154
> Sandia National Labs                FAX:   (925) 294-2234
> PO Box 969, MS 9012                 [EMAIL PROTECTED]
> Livermore, CA 94550         http://herzberg.ca.sandia.gov
> 
> --------------------------------------------------------------------
> To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
> in the BODY of a message to [EMAIL PROTECTED], NOT to the list
> (use your own address!) List problems? Notify [EMAIL PROTECTED]
> --------------------------------------------------------------------
> 


Felix Bachmann
Software Engineering Institute
Carnegie Mellon University
Pittsburgh, PA 15213
Voice: +1 (412) 268 6194
FAX:   +1 (412) 268 5758

--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------

Reply via email to