Skip to content

Fix state change error messaging#1223

Closed
Phocea wants to merge 1 commit intomarmelab:masterfrom
Phocea:patch-2
Closed

Fix state change error messaging#1223
Phocea wants to merge 1 commit intomarmelab:masterfrom
Phocea:patch-2

Conversation

@Phocea
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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