octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #48439] validateattributes throws errors witho


From: Carlo de Falco
Subject: [Octave-bug-tracker] [bug #48439] validateattributes throws errors without IDs
Date: Mon, 11 Jul 2016 15:59:36 +0000 (UTC)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:47.0) Gecko/20100101 Firefox/47.0

Follow-up Comment #2, bug #48439 (project octave):

Lachlan,

The error is an invalid input argument in both cases,
and the error message does specify whether the invalid arg 
was passed to validateattributes itself or to a function using
validateattributes internally, so I think that part is not that bad ...

But MATLAB is even more specific, as it has a different identifier for each
kind of test that validateattributes can perform on inputs, e.g.
'MATLAB:notLessEqual' if the input is required to be less or equal than a
specified value but it isn't or 'MATLAB:invalidType' if it is not of one of
the allowed types.

I am not limited to existing IDs but I remember previous discussions about not
introducing too many different IDs and this would probably introduce a lot.



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?48439>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]