Some file operations return undocumented UVError
#14260
Labels
error handling
Handling of exceptions by Julia or the user
UVError
#14260
I assumed that failing file operations (
rm
,'mkdir
, etc.) return aSystemError
when they fail. However, under certain circumstances they return an undocumentedUVError
. This seems like an unintentional leak of an implementation detail:The printed error messages look fine, but e.g. the error codes have different meanings (
SystemError
useserrno
,UVError
uses its own set of constants). Having different exception types makes it difficult to handle these errors programmatically.The text was updated successfully, but these errors were encountered: