We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
I noticed that you throw errors on the instance of ZipFile class. So should I catch errors like this?
ZipFile
var zipfile = new yazl.ZipFile(); //... zipfile.on('error', error=>console.error(error));
This was only way how to prevent termination of the process when for example I tried to add to zip path, that does not exists.
If this is the correct way, could you please add it to documentation? Also if this is the correct way, typing on https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/yazl/index.d.ts does not allow this call.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I noticed that you throw errors on the instance of
ZipFile
class. So should I catch errors like this?This was only way how to prevent termination of the process when for example I tried to add to zip path, that does not exists.
If this is the correct way, could you please add it to documentation? Also if this is the correct way, typing on https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/yazl/index.d.ts does not allow this call.
The text was updated successfully, but these errors were encountered: