Merge branch '6.6.0' into feat/resolve-scoped-classes

This commit is contained in:
Kamil Mysliwiec
2019-08-26 12:38:15 +02:00
committed by GitHub
150 changed files with 3576 additions and 2475 deletions

View File

@@ -1,9 +1,9 @@
import { RuntimeException } from './runtime.exception';
export class UnknownElementException extends RuntimeException {
constructor() {
constructor(name?: string) {
super(
'Nest could not find the given element (this class does not exist in the current context)',
`Nest could not find ${name || 'given'} element (this provider does not exist in the current context)`,
);
}
}