UNPKG

1.25 kBTypeScriptView Raw
1import { MdError } from '../errors/error';
2/** Exception thrown when a ComponentPortal is attached to a DomPortalHost without an origin. */
3export declare class MdComponentPortalAttachedToDomWithoutOriginError extends MdError {
4 constructor();
5}
6/** Exception thrown when attempting to attach a null portal to a host. */
7export declare class MdNullPortalError extends MdError {
8 constructor();
9}
10/** Exception thrown when attempting to attach a portal to a host that is already attached. */
11export declare class MdPortalAlreadyAttachedError extends MdError {
12 constructor();
13}
14/** Exception thrown when attempting to attach a portal to an already-disposed host. */
15export declare class MdPortalHostAlreadyDisposedError extends MdError {
16 constructor();
17}
18/** Exception thrown when attempting to attach an unknown portal type. */
19export declare class MdUnknownPortalTypeError extends MdError {
20 constructor();
21}
22/** Exception thrown when attempting to attach a portal to a null host. */
23export declare class MdNullPortalHostError extends MdError {
24 constructor();
25}
26/** Exception thrown when attempting to detach a portal that is not attached. */
27export declare class MdNoPortalAttachedError extends MdError {
28 constructor();
29}