I believe we would need to established some form of error messaging protocol - what the UI expect server to return when request failed.
But generally in case of error, we should report a failure: this can be done generically through $http interceptors.
|