-
Notifications
You must be signed in to change notification settings - Fork 816
/
index.ts
34 lines (33 loc) · 1.62 KB
/
index.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
export class NotImplementedError extends Error {}
export class ResourceAlreadyExistsError extends Error {}
export class ResourceDoesNotExistError extends Error {}
export class ResourceCredentialsNotFoundError extends Error {}
export class UnknownResourceTypeError extends Error {}
export class UnknownArgumentError extends Error {}
export class EnvironmentDoesNotExistError extends Error {}
export class MissingParametersError extends Error {}
export class NonEmptyDirectoryError extends Error {}
export class InvalidEnvironmentNameError extends Error {}
export class InvalidSubCommandError extends Error {}
export class FrontendBuildError extends Error {}
export class TeamProviderInfoMigrateError extends Error {}
export class AppNotFoundError extends Error {}
export class AppAlreadyDeployedError extends Error {}
export class SchemaDoesNotExistError extends Error {}
export class AngularConfigNotFoundError extends Error {}
export class AppIdMismatchError extends Error {}
export class UnrecognizedFrameworkError extends Error {}
export class ConfigurationError extends Error {}
export class CustomPoliciesFormatError extends Error {}
export class NotInitializedError extends Error {
public constructor() {
super();
this.name = 'NotInitializedError';
this.message = `
No Amplify backend project files detected within this folder. Either initialize a new Amplify project or pull an existing project.
- "amplify init" to initialize a new Amplify project
- "amplify pull <app-id>" to pull your existing Amplify project. Find the <app-id> in the AWS Console or Amplify Admin UI.
`;
this.stack = undefined;
}
}