Skip to content

Commit

Permalink
refactor(portal-errors): fix typos in error messages (#890)
Browse files Browse the repository at this point in the history
  • Loading branch information
JayKan authored and robertmesserle committed Jul 21, 2016
1 parent 6d4484e commit f0965ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/portal/portal-errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
}

0 comments on commit f0965ba

Please sign in to comment.