Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add helper for getting error messages from .fail() #334

Open
JTimings opened this issue Feb 19, 2022 · 1 comment
Open

Add helper for getting error messages from .fail() #334

JTimings opened this issue Feb 19, 2022 · 1 comment

Comments

@JTimings
Copy link

Is your feature request related to a problem? Please describe.

Prior to v5 we could get the specific error message returned by Spree using response.fail().serverResponse.data.error. This no longer seems possible, or at least an alternative not documented.

Describe the solution you'd like.

Would like to return more detailed error messages to users upon response.fail()

Additional context

We're using JavaScript for the frontend and backend v4.3.0

@ferentc
Copy link

ferentc commented May 24, 2022

Any updates on this? have same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants