Add a method `response#throwError(err)` and add a `StatusService` to handle it.
Add a method
response#throwError(err)and add aStatusServiceto handle it.