Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More specific exception for cases when there are no files to archive #51

Closed

Conversation

vehovsky
Copy link
Contributor

This is a pre-requisite for MASSEMBLY-833. Where it's required to distinguish more cleanly case when archive could not be created, because there were actually no files to archive.

Although it would be possible to use the error message for that purpose, using subclass of ArchiverException allows cleaner exception handling and change of the error message will not effect downstream projects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants