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

Function getMatIconNameNotFoundError

src/material/icon/icon-registry.ts:29–31  ·  view source on GitHub ↗
(iconName: string)

Source from the content-addressed store, hash-verified

27 * @docs-private
28 */
29export function getMatIconNameNotFoundError(iconName: string): Error {
30 return Error(`Unable to find icon with the name "${iconName}"`);
31}
32
33/**
34 * Returns an exception to be thrown when the consumer attempts to use

Callers 2

getNamedSvgIconMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected