[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #65078] inputParser thrown exception
From: |
Bill Greene |
Subject: |
[Octave-bug-tracker] [bug #65078] inputParser thrown exception |
Date: |
Sat, 23 Dec 2023 07:56:26 -0500 (EST) |
URL:
<https://savannah.gnu.org/bugs/?65078>
Summary: inputParser thrown exception
Group: GNU Octave
Submitter: billgreene
Submitted: Sat 23 Dec 2023 12:56:24 PM UTC
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Matlab Compatibility
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: 8.4.0
Discussion Lock: Any
Operating System: Any
Fixed Release: None
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Sat 23 Dec 2023 12:56:24 PM UTC By: Bill Greene <billgreene>
When inputParser throws an exception it includes the error message from the
validation function but does not include the identifier.
The offending line in inputParser is:
error ("%s%s", where, msg);
This should support something like:
error (id, "%s%s", where, msg);
where id is set from the validation function exception.
Matlab inputParser DOES work in this way and makes it possible to
do more intelligent up-stream handling of the error.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?65078>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #65078] inputParser thrown exception,
Bill Greene <=