Skip to content
Snippets Groups Projects
Commit 5db5eb44 authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Improved error message...

... returned when one tries to instantiate a dates object with an
object which cannot be interpreted as a date.
parent bb72b731
No related branches found
No related tags found
No related merge requests found
...@@ -107,7 +107,7 @@ methods ...@@ -107,7 +107,7 @@ methods
end end
return return
end end
error('dates:ArgCheck','You should first read the manual!') error('dates:ArgCheck','The input cannot be interpreted as a date. You should first read the manual!')
end % dates constructor. end % dates constructor.
% Other methods % Other methods
p = sort(o); p = sort(o);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment