Return a wrapped fs.ErrNotExist if no spec directories are defined#309
Return a wrapped fs.ErrNotExist if no spec directories are defined#309elezar wants to merge 1 commit intocncf-tags:mainfrom
Conversation
|
Thanks @klihub. While working on this, I was wondering whether we want to more strictly define (i.e. return an error from |
Yeah, at least my gut feeling is that it sounds like a reasonable idea. Another option would be to update and document the |
I think this is a cleaner solution. Created #310 to do this. |
Signed-off-by: Evan Lezar <elezar@nvidia.com>
2026e9b to
bb2fc73
Compare
|
rebased. |
See the discussion here: #308 (comment)
Here we return a wrapped
fs.ErrNotExisterror if there are no spec directories defined instead of a raw error that cannot be queried easily by the caller.