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

71 lines
925 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#L169-L189">angular2/src/di/exceptions.ts (line 169)</a>
2015-04-19 13:53:18 -07:00
:markdown
2015-04-20 13:57:43 -07:00
Thrown when the class has no annotation information.
2015-04-19 13:53:18 -07:00
2015-06-01 22:51:00 -07:00
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.
2015-04-19 13:53:18 -07:00
.l-main-section
h2 Members
.l-sub-section
h3 constructor
pre.prettyprint
code.
2015-04-20 13:57:43 -07:00
constructor(typeOrFunc)
2015-04-19 13:53:18 -07:00
:markdown
2015-06-01 22:51:00 -07:00
2015-04-19 13:53:18 -07:00
.l-sub-section
h3 message
:markdown
2015-04-19 13:53:18 -07:00
2015-06-01 22:51:00 -07:00
.l-sub-section
h3 name
:markdown
2015-04-19 13:53:18 -07:00
.l-sub-section
h3 toString
pre.prettyprint
code.
2015-04-20 13:57:43 -07:00
toString()
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