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

Fix state change error messaging #1223

Closed
wants to merge 1 commit into from
Closed

Conversation

Phocea
Copy link
Contributor

@Phocea Phocea commented Oct 4, 2016

error object is composed of: data, status, statusText and config ... there is no message attributes

error object is composed of:  data, status, statusText and config ... there is no message attributes
@Phocea
Copy link
Contributor Author

Phocea commented Oct 4, 2016

@jpetitcolas This at least would handle all kind of error to be displayed properly. However how could I grab message customization like it is done via app.errorMessage.

May also be useful to customise the routing depending on the HTTP code. Is this something that could be added inside the global config object in a map of some sort. Maybe something like .

app.setErrorRouting('htttpCode', 'route')

@Phocea
Copy link
Contributor Author

Phocea commented Nov 8, 2016

Closing this for now .Fix will be part of a bigger change

@Phocea Phocea closed this Nov 8, 2016
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

Successfully merging this pull request may close these issues.

1 participant