X Tutup
Skip to content

Commit 280cd33

Browse files
committed
fix(router): fix error message text
1 parent 07cdc2f commit 280cd33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/angular2/src/router/router.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export class Router {
8787
*/
8888
registerPrimaryOutlet(outlet: RouterOutlet): Promise<boolean> {
8989
if (isPresent(outlet.name)) {
90-
throw new BaseException(`registerAuxOutlet expects to be called with an unnamed outlet.`);
90+
throw new BaseException(`registerPrimaryOutlet expects to be called with an unnamed outlet.`);
9191
}
9292

9393
this._outlet = outlet;

0 commit comments

Comments
 (0)
X Tutup