Olá @s0undt3ch, again, I tried not to deviate in structure from the S3 code I was adapting for Swift. Line 539 in the existing fileclient catches all Exceptions and raises a MinionError, so I did the same. Happy to adapt if that's what's required, I'd create an exception class specific to my module to avoid having fileclient.py having to import a possibly non-existent python-swiftclient.

Reviewing the library, we could be getting OSError file creation exceptions, generic SSL & socket exceptions, and a couple of Swift library specific exception classes.

Does that sound appropriate?