You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the current state of the codebase, we use a constructor for WebCrypto errors which is legacy and has an error code we don't really use. We should refactor the constructor to not need the error code, and probably for the error type to not have that code in the first place.
Going from
NewError(0, OperationError, "invalid key length")
To
NewError(OperationError, "invalid key length")
As proposed by [this specific comment](NewError(0, OperationError, "invalid key length")).
The text was updated successfully, but these errors were encountered:
In the current state of the codebase, we use a constructor for WebCrypto errors which is legacy and has an error code we don't really use. We should refactor the constructor to not need the error code, and probably for the error type to not have that code in the first place.
Going from
To
As proposed by [this specific comment](NewError(0, OperationError, "invalid key length")).
The text was updated successfully, but these errors were encountered: