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

Function throwNullPortalError

src/cdk/portal/portal-errors.ts:13–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11 * @docs-private
12 */
13export function throwNullPortalError() {
14 throw Error('Must provide a portal to attach');
15}
16
17/**
18 * Throws an exception when attempting to attach a portal to a host that is already attached.

Callers 1

attachFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected