OutOfBoundsError

export class OutOfBoundsError

exported from angular2/core defined in angular2/src/core/di/exceptions.ts (line 230)

Thrown when getting an object by index.

Example (live demo)

class A {} var injector = Injector.resolveAndCreate([A]); expect(() => injector.getAt(100)).toThrowError();

Constructor

constructor(index: any)

Not Yet Documented