Search found 1 match
Search found 1 match • Page 1 of 1
- Sat Feb 13, 2021 9:29 am
- Forum: General Discussion and Questions
- Topic: Any OSError Codes as of now?
- Replies: 4
- Views: 1412
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 ...