/
githubmirror
/
nest
Обзор
Документация
Войти
/
githubmirror
/
nest
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
packages/core/errors/exceptions/invalid-class-module.exception.ts
18 строк
465 B
haredoggy
fix(core): identify decorator type in invalid-class-module error
16 май 2026, 19:07
16 май 2026, 19:07
79919b1
Код
Авторство
О чём код?
import { USING_INVALID_CLASS_AS_A_MODULE_MESSAGE } from '../messages'; import { RuntimeException } from './runtime.exception'; export class InvalidClassModuleException extends RuntimeException { constructor( metatypeUsedAsAModule: any, scope: any[], classKind: 'provider' | 'controller' | 'filter', ) { super( USING_INVALID_CLASS_AS_A_MODULE_MESSAGE( metatypeUsedAsAModule, scope, classKind, ), ); } }