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

69 lines
975 B
Plaintext

p.location-badge.
exported from <a href='../di'>angular2/di</a>
defined in <a href="https://github.com/angular/angular/tree/2.0.0-alpha.33/modules/angular2/src/di/exceptions.ts#L128-L156">angular2/src/di/exceptions.ts (line 128)</a>
:markdown
Thrown when the class has no annotation information.
Lack of annotation information prevents the <a href='Injector-class.html'><code>Injector</code></a> from determining which dependencies
need to be injected into the constructor.
.l-main-section
h2 Members
.l-sub-section
h3 constructor
pre.prettyprint
code.
constructor(typeOrFunc: any, params: List&lt;List&lt;any&gt;&gt;)
:markdown
.l-sub-section
h3 name
:markdown
.l-sub-section
h3 message
:markdown
.l-sub-section
h3 toString
pre.prettyprint
code.
toString()
:markdown