feat(errors): update error messaging to provide solutions

This commit is contained in:
Mark Pieszak
2019-09-21 13:43:23 -04:00
parent 2a22be7dac
commit 92325cf9db
6 changed files with 176 additions and 69 deletions

View File

@@ -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;
}