From c1807a49ec1938c60cc95d032db6322444c91c82 Mon Sep 17 00:00:00 2001 From: Arman Ozak Date: Mon, 17 Aug 2020 22:59:30 +0300 Subject: [PATCH] feat: add NoApiDefinition exception to schematics --- npm/ng-packs/packages/schematics/src/enums/exception.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/npm/ng-packs/packages/schematics/src/enums/exception.ts b/npm/ng-packs/packages/schematics/src/enums/exception.ts index 92f73b7ef4..37bb6e30d9 100644 --- a/npm/ng-packs/packages/schematics/src/enums/exception.ts +++ b/npm/ng-packs/packages/schematics/src/enums/exception.ts @@ -2,6 +2,7 @@ export const enum Exception { FileNotFound = '[File Not Found] There is no file at "{0}" path.', InvalidWorkspace = '[Invalid Workspace] The angular.json should be a valid JSON file.', NoApi = '[API Not Available] Please double-check the URL in the source project environment and make sure your application is up and running.', + NoApiDefinition = '[API Definition Not Found] There is no valid API definition file at "{0}".', NoProject = '[Project Not Found] Either define a default project in your workspace or specify the project name in schematics options.', NoWorkspace = '[Workspace Not Found] Make sure you are running schematics at the root directory of your workspace and it has an angular.json file.', NoEnvironment = '[Environment Not Found] An environment file cannot be located in "{0}" project.',