Skip to content

Add an error inducing HttpClient implementation

Daniel Gerhardt requested to merge error-inducing-http-client into master

This adds a replacement for Angular's HttpClient which replaces some of the responses with artificial HTTP error responses. It is intended for development only.

To enable the behavior, add this as a provider to the AppModule:

{ provide: HttpClient, useClass: ErrorInducingHttpClient }

Depends-on: !1799 (merged)

Edited by Daniel Gerhardt

Merge request reports