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
The error types in FastCryptoError does not currently give a lot of information about what caused them, and while this opaqueness is to some degree intended, we should add a bit more clarity to them. This could be done either by adding more error types or by adding messages to the errors or a combination.
@kchalkias review of #243 gives a few suggestions on what we should change.
The text was updated successfully, but these errors were encountered:
Different error types are needed when we believe that the caller would use them differently, but I doubt that anyone would handle differently errors like InvalidInputs vs InputTooShort. General error types like InvalidInputs, OsResourceError, etc should suffice.
Adding an optional error string to errors makes sense for logging purposes.
The error types in FastCryptoError does not currently give a lot of information about what caused them, and while this opaqueness is to some degree intended, we should add a bit more clarity to them. This could be done either by adding more error types or by adding messages to the errors or a combination.
@kchalkias review of #243 gives a few suggestions on what we should change.
The text was updated successfully, but these errors were encountered: