mirror of
https://github.com/nestjs/nest.git
synced 2026-02-21 23:11:44 +00:00
feat(errors): update error messaging to provide solutions
This commit is contained in:
@@ -391,7 +391,7 @@ export class Module {
|
||||
|
||||
if (!importsNames.includes(token as any)) {
|
||||
const { name } = this.metatype;
|
||||
throw new UnknownExportException(name);
|
||||
throw new UnknownExportException(token as any, name);
|
||||
}
|
||||
return token;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user