refactor(portal-errors): fix typos in error messages (#890)

This commit is contained in:
Jay Kan
2016-07-21 15:30:59 -07:00
committed by Robert Messerle
parent 6d4484e827
commit f0965ba53f
+2 -2
View File
@@ -42,13 +42,13 @@ export class MdUnknownPortalTypeError extends MdError {
/** Exception thrown when attempting to attach a portal to a null host. */
export class MdNullPortalHostError extends MdError {
constructor() {
super('Attmepting to attach a portal to a null PortalHost');
super('Attempting to attach a portal to a null PortalHost');
}
}
/** Exception thrown when attempting to detach a portal that is not attached. */
export class MdNoPortalAttachedError extends MdError {
constructor() {
super('Attmepting to detach a portal that is not attached to a host');
super('Attempting to detach a portal that is not attached to a host');
}
}