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
I think it would be a significant improvement if ValidationException errors (or at least some of them) included additional attributes containing contextual information. For instance, in the case of a BadOriginException, this attribute could be clientOrigin. Currently, to obtain this information, we need to parse the error message (The collectedClientData " + clientOrigin + " origin doesn't match any of the preconfigured server origin.). With such an approach, there's a risk that the message might change in the future, catching us off guard.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi,
I think it would be a significant improvement if
ValidationException
errors (or at least some of them) included additional attributes containing contextual information. For instance, in the case of aBadOriginException
, this attribute could beclientOrigin
. Currently, to obtain this information, we need to parse the error message (ThecollectedClientData " + clientOrigin + " origin doesn't match any of the preconfigured server origin.
). With such an approach, there's a risk that the message might change in the future, catching us off guard.The text was updated successfully, but these errors were encountered: