angular-docs-cn/public/docs/js/latest/api/di/InstantiationError-class.jade
2015-06-01 23:18:32 -07:00

54 lines
752 B
Plaintext

p.location-badge.
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>
:markdown
Thrown when a constructing type returns with an Error.
The `InstantiationError` class contains the original error plus the dependency graph which caused
this object to be instantiated.
.l-main-section
h2 Members
.l-sub-section
h3 constructor
pre.prettyprint
code.
constructor(cause, key)
:markdown
.l-sub-section
h3 cause
:markdown
.l-sub-section
h3 causeKey
:markdown