You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That's not a terribly helpful error message. If you look really closely you can see the (isempty(path) || path[1] == '/') part at the end, but it's easy to miss.
In addition to a better error message, it would be a good idea to explicitly mention in the docstring that path must start with a forward slash.
The text was updated successfully, but these errors were encountered:
CameronBieganek
changed the title
Better error message when path argument does not start with a forward slash`
Better error message when path argument does not start with a forward slash
Apr 21, 2020
Example:
That's not a terribly helpful error message. If you look really closely you can see the
(isempty(path) || path[1] == '/')
part at the end, but it's easy to miss.In addition to a better error message, it would be a good idea to explicitly mention in the docstring that
path
must start with a forward slash.The text was updated successfully, but these errors were encountered: