How to use the @devexperts/remote-data-ts.failure function in @devexperts/remote-data-ts

To help you get started, we’ve selected a few @devexperts/remote-data-ts examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github devexperts / dx-platform / packages / rx-utils / src / rd / api-client.utils.ts View on Github external
catchError(response => {
				this.errorSubj$.next(response);

				return of(failure(response));
			}),
			startWith(pending),