Commit Graph

3 Commits

Author SHA1 Message Date
OldHawk
2a6636679e modify template 400,403,404,500 etc 2017-05-13 18:41:32 +08:00
Michael Leanos
6be12f8a06 fix(core): Add custom 400 and 404 error messages (#1547)
* Added 400 and 404 custom error messages

* nicer error message views

* Sign Up & Sign In error responses

Changed the error responses returned from the Sign Up & Sign In API
calls to use 422 rather than 400.

For insight into why this change was made:
https://github.com/meanjs/mean/pull/1510#issuecomment-247435378

For reference on why to use 422 over 400:
https://www.bennadel.com/blog/2434-http-status-codes-for-invalid-data-400-vs-422.htm
2016-10-07 22:03:31 -07:00
Andrew Throener
ed89f9ea08 Unauthorized client routing
Added Auth Interceptor tests

cleaned up test

Update routes
2015-08-24 17:04:36 -05:00