# 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;
- Session & cookies
- Passport.js
- TypeORM
- Mongoose
- GraphQL
- Socket.io
- Swagger
- AJV
- Multer
- Serve static files
- Templating
- Throw HTTP Exceptions
- Customize 404
- AWS
- Jest
- Seq
- Controllers
- Providers
- Model
- Converters
- Middlewares
- Pipes
- Interceptors
- Authentication
- Hooks
- Injection scopes
- Custom providers
- Custom endpoint decorator
- Testing