UNPKG

1.82 kBTypeScriptView Raw
1import type { ForwardReference, Type } from '@nestjs/common';
2import { InjectorDependencyContext } from '../injector/injector';
3import { Module } from '../injector/module';
4export declare const UNKNOWN_DEPENDENCIES_MESSAGE: (type: string | symbol, unknownDependencyContext: InjectorDependencyContext, module: Module) => string;
5export declare const INVALID_MIDDLEWARE_MESSAGE: (text: TemplateStringsArray, name: string) => string;
6export declare const UNDEFINED_FORWARDREF_MESSAGE: (scope: Type<any>[]) => string;
7export declare const INVALID_MODULE_MESSAGE: (parentModule: any, index: number, scope: any[]) => string;
8export declare const USING_INVALID_CLASS_AS_A_MODULE_MESSAGE: (metatypeUsedAsAModule: Type | ForwardReference, scope: any[]) => string;
9export declare const UNDEFINED_MODULE_MESSAGE: (parentModule: any, index: number, scope: any[]) => string;
10export declare const UNKNOWN_EXPORT_MESSAGE: (token: string | symbol, module: string) => string;
11export declare const INVALID_CLASS_MESSAGE: (text: TemplateStringsArray, value: any) => string;
12export declare const INVALID_CLASS_SCOPE_MESSAGE: (text: TemplateStringsArray, name: string | undefined) => string;
13export declare const INVALID_MIDDLEWARE_CONFIGURATION = "An invalid middleware configuration has been passed inside the module 'configure()' method.";
14export declare const UNKNOWN_REQUEST_MAPPING = "An invalid controller has been detected. Perhaps, one of your controllers is missing @Controller() decorator.";
15export declare const UNHANDLED_RUNTIME_EXCEPTION = "Unhandled Runtime Exception.";
16export declare const INVALID_EXCEPTION_FILTER = "Invalid exception filters (@UseFilters()).";
17export declare const MICROSERVICES_PACKAGE_NOT_FOUND_EXCEPTION = "Unable to load @nestjs/microservices package. (Please make sure that it's already installed.)";