fix(router): fix error message text
This commit is contained in:
parent
07cdc2ff44
commit
280cd33f2e
|
@ -87,7 +87,7 @@ export class Router {
|
|||
*/
|
||||
registerPrimaryOutlet(outlet: RouterOutlet): Promise<boolean> {
|
||||
if (isPresent(outlet.name)) {
|
||||
throw new BaseException(`registerAuxOutlet expects to be called with an unnamed outlet.`);
|
||||
throw new BaseException(`registerPrimaryOutlet expects to be called with an unnamed outlet.`);
|
||||
}
|
||||
|
||||
this._outlet = outlet;
|
||||
|
|
Loading…
Reference in New Issue