MCPcopy Create free account
hub / github.com/angular/components / getMatIconNoHttpProviderError

Function getMatIconNoHttpProviderError

src/material/icon/icon-registry.ts:38–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36 * @docs-private
37 */
38export function getMatIconNoHttpProviderError(): Error {
39 return Error(
40 'Could not find HttpClient for use with Angular Material icons. ' +
41 'Please add provideHttpClient() to your providers.',
42 );
43}
44
45/**
46 * Returns an exception to be thrown when a URL couldn't be sanitized.

Callers 1

_fetchIconMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected