()
| 35 | * @docs-private |
| 36 | */ |
| 37 | export function throwUnknownPortalTypeError() { |
| 38 | throw Error( |
| 39 | 'Attempting to attach an unknown Portal type. BasePortalOutlet accepts either ' + |
| 40 | 'a ComponentPortal or a TemplatePortal.', |
| 41 | ); |
| 42 | } |
| 43 | |
| 44 | /** |
| 45 | * Throws an exception when attempting to attach a portal to a null host. |