Custom exceptions for every feature, delay for waiting responses #39
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi, I added custom exceptions for every feature you have implemented, in order to have specific errors if someone has to do something when catches these exceptions.
I also added a new variable into FTPConnect and FTPSocket classes called "sendingResponseDelay" for customizing the delay between the responses coming from FTP SERVER.
I did these changes cause I'm currently develop a desktop app that uses your package and in some points, I needed custom exceptions in order to do custom actions in the catch block. Then, I added the delay for reducing the time between responses in order to have results faster.
Finally, I updated the tests in order to work with the new exceptions.
I hope you'll enjoy my work
Waiting answers.
Have a nice day :)
Antonio