grafana / xk6-webcrypto

WIP implementation of the WebCrypto specification for k6
GNU Affero General Public License v3.0
7 stars 4 forks source link

Remove the Error `code` field #44

Closed oleiade closed 1 year ago

oleiade commented 1 year ago

The Error type code field was a legacy attribute that we did not use in the end. This PR removes the attribute, and adjusts the NewError constructor accordingly.

I have separated the actual change and all the codebase adjustments it triggered in two separate commits for convenience.

This closes #33