p.location-badge. exported from angular2/di defined in angular2/src/di/exceptions.ts (line 71) :markdown Thrown when dependencies form a cycle. ## Example: ```javascript class A { constructor(b:B) {} } class B { constructor(a:A) {} } ``` Retrieving `A` or `B` throws a `CyclicDependencyError` as the graph above cannot be constructed. .l-main-section h2 Members .l-sub-section h3 constructor pre.prettyprint code. constructor(injector: Injector, key: Key) :markdown