InjectionError
@tsed/di
Usage
typescript
import { InjectionError } from "@tsed/di";
Overview
ts
class InjectionError extends Error {
name: string;
tokens: TokenProvider[];
origin: any;
constructor(token: TokenProvider, origin?: any);
static throwInjectorError(token: any, currentDependency: any, error: any): void;
}
name
ts
name: string;
tokens
ts
tokens: TokenProvider[];
origin
ts
origin: any;
static throwInjectorError
ts
static throwInjectorError(token: any, currentDependency: any, error: any): void;