UNPKG

@nestjs/core

Version:

Nest - modern, fast, powerful node.js web framework (@core)

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)`); } }