# Class InjectionError

Class
Module
import { InjectionError } from "@tsed/di"
Source/packages/di/src/errors/InjectionError.ts

# Overview

class InjectionError extends Error {
    name: string;
    tokens: TokenProvider[];
    origin: any;
    constructor(token: TokenProvider, origin?: any);
    static throwInjectorError(token: any, currentDependency: any, error: any): void;
}

# Members

name: string;

tokens: TokenProvider[];

origin: any;

static throwInjectorError(token: any, currentDependency: any, error: any): void;

Other topics