Search found 1 match

by Chai3
Sat Feb 13, 2021 9:29 am
Forum: General Discussion and Questions
Topic: Any OSError Codes as of now?
Replies: 4
Views: 1412

Re: Any OSError Codes as of now?

os.scandir() doesn't throw these types of exceptions. It raises the OSError exception. It does, however, allow you to determine the type of error that occurred. There are a large number of possible errors that could be part of the OSError . You can use these to raise your own custom exceptions and ...