angular-docs-cn/public/docs/js/latest/api/di/InstantiationError-class.jade

54 lines
752 B
Plaintext
Raw Normal View History

2015-04-19 13:53:18 -07:00
2015-04-22 08:06:51 -07:00
p.location-badge.
2015-06-01 22:51:00 -07:00
exported from <a href='../di'>angular2/di</a>
defined in <a href="https://github.com/angular/angular/tree/master/modules/angular2/src/di/exceptions.ts#L130-L152">angular2/src/di/exceptions.ts (line 130)</a>
2015-04-19 13:53:18 -07:00
:markdown
2015-04-20 13:57:43 -07:00
Thrown when a constructing type returns with an Error.
2015-04-19 13:53:18 -07:00
2015-06-01 22:51:00 -07:00
The `InstantiationError` class contains the original error plus the dependency graph which caused
this object to be instantiated.
2015-04-19 13:53:18 -07:00
.l-main-section
h2 Members
.l-sub-section
h3 constructor
pre.prettyprint
code.
2015-04-21 23:34:30 -07:00
constructor(cause, key)
2015-04-19 13:53:18 -07:00
2015-04-21 23:34:30 -07:00
:markdown
2015-06-01 22:51:00 -07:00
2015-04-21 23:34:30 -07:00
2015-04-19 13:53:18 -07:00
2015-04-21 23:34:30 -07:00
.l-sub-section
h3 cause
2015-04-19 13:53:18 -07:00
:markdown
2015-04-19 13:53:18 -07:00
2015-06-01 22:51:00 -07:00
2015-04-19 13:53:18 -07:00
2015-04-21 23:34:30 -07:00
.l-sub-section
h3 causeKey
:markdown
2015-04-21 23:34:30 -07:00
2015-06-01 22:51:00 -07:00
2015-04-21 23:34:30 -07:00