diff --git a/npm/ng-packs/packages/schematics/src/enums/exception.ts b/npm/ng-packs/packages/schematics/src/enums/exception.ts index 8577df7d41..234457f037 100644 --- a/npm/ng-packs/packages/schematics/src/enums/exception.ts +++ b/npm/ng-packs/packages/schematics/src/enums/exception.ts @@ -1,5 +1,8 @@ export const enum Exception { - InvalidWorkspace = 'Invalid Workspace: The angular.json should be a valid JSON file.', - NoProject = 'Unknown Project: 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.', + 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 source url and make sure your application is up and running.', + 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.', + RequiredApiUrl = '[API URL Required] API URL cannot be resolved. Please re-run the schematics and enter the URL to get API definitions from.', }