
p.location-badge.
  exported from <a href='../core'>angular2/core</a>
  defined in <a href="https://github.com/angular/angular/tree/2.0.0-alpha.37/modules/angular2/src/core/di/exceptions.ts#L92-L123">angular2/src/core/di/exceptions.ts (line 92)</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 constructor

    
    pre.prettyprint
      code.
        constructor(injector: Injector, originalException: any, originalStack: any, key: Key)
    
    :markdown




  .l-sub-section
    h3#keys keys

    
    :markdown





  .l-sub-section
    h3#injectors injectors

    
    :markdown





  .l-sub-section
    h3#addKey addKey

    
    pre.prettyprint
      code.
        addKey(injector: Injector, key: Key)
    
    :markdown





  .l-sub-section
    h3#wrapperMessage wrapperMessage

    
    :markdown





  .l-sub-section
    h3#causeKey causeKey

    
    :markdown





  .l-sub-section
    h3#context context

    
    :markdown




