/
githubmirror
/
nest
Обзор
Документация
Войти
/
githubmirror
/
nest
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
packages/core/errors/exceptions/unknown-element.exception.ts
12 строк
347 B
Kamil Myśliwiec
feat(core): add instance links, introspection and expose request provider
01 июл 2020, 15:05
Не верифицирован
01 июл 2020, 15:05
d59c7b8
Код
Авторство
О чём код?
import { RuntimeException } from './runtime.exception'; export class UnknownElementException extends RuntimeException { constructor(name?: string | symbol) { name = name && name.toString(); super( `Nest could not find ${ name || 'given' } element (this provider does not exist in the current context)`, ); } }