No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 1 commit ahead of learn-co-students:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
js
tests
.gitignore
.learn
CONTRIBUTING.md
LICENSE.md
README.md
config.yml
karma.conf.js
package.json

README.md

Write an HTTP interceptor Service

Objectives

  • Integrate an HTTP Interceptor for global error handling

Instructions

Make sure you run stubby -d config.yml to mock our backend.

In this repo we've got a mocked backend with an endpoint that returns an error. Our service is currently calling that endpoint.

Make a HTTP interceptor that alerts the user if there is an error!