UNPKG

@nestjs/core

Version:

The core of NestJS, a TypeScript framework for Node.js backends: modules, dependency injection and the request pipeline, on Express, Fastify or node:http.

8 lines (7 loc) • 314 B
import { RuntimeException } from './runtime.exception.js'; export class UnknownElementException extends RuntimeException { constructor(name) { name = name && name.toString(); super(`Nest could not find ${name || 'given'} element (this provider does not exist in the current context)`); } }