grafana / k6-jslib-aws

Javascript Library allowing to interact with AWS resources from k6 scripts
Apache License 2.0
18 stars 29 forks source link

Can the new error types be exported? #117

Open ziltodian opened 3 weeks ago

ziltodian commented 3 weeks ago

Hi @oleiade ,

WRT this, thanks for adding the additional error types. However, we're still unable to check for an instance of the new errors as they're not exported. Would it be possible for the new errors to be exported so we can check for an instance of NetworkError?

Thanks

oleiade commented 3 weeks ago

Hey @ziltodian 👋🏻

For sure, we haven't managed to publish a new release yet, but we'll try to get that done as soon as possible. Errors will be exported both from the main index.js file, as well as client-specific ones 🙇🏻

oleiade commented 3 days ago

Hi @ziltodian 👋🏻

We have published a new release of jslib-aws (v0.13.0). Error types are now exported from every bundles. Could you give it a spin, and let us know if that addresses the issue for you? 🙇🏻

PS: in order to keep the issue backlog manageable, without answer, I will close this in one week 👍🏻

ziltodian commented 3 days ago

Hi @oleiade , I've actually made the change to use NetworkError today. It's currently in review. I'll keep you posted.