UNPKG

1.75 kBTypeScriptView Raw
1/**
2 * @license
3 * Copyright Google LLC All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8export declare class BaseException extends Error {
9 constructor(message?: string);
10}
11export declare class UnknownException extends BaseException {
12 constructor(message: string);
13}
14export declare class FileDoesNotExistException extends BaseException {
15 constructor(path: string);
16}
17export declare class FileAlreadyExistException extends BaseException {
18 constructor(path: string);
19}
20export declare class PathIsDirectoryException extends BaseException {
21 constructor(path: string);
22}
23export declare class PathIsFileException extends BaseException {
24 constructor(path: string);
25}
26/**
27 * @deprecated since version 14. Use the same symbol from `@angular-devkit/schematics`.
28 */
29export declare class ContentHasMutatedException extends BaseException {
30 constructor(path: string);
31}
32/**
33 * @deprecated since version 14. Use the same symbol from `@angular-devkit/schematics`.
34 */
35export declare class InvalidUpdateRecordException extends BaseException {
36 constructor();
37}
38/**
39 * @deprecated since version 14. Use the same symbol from `@angular-devkit/schematics`.
40 */
41export declare class MergeConflictException extends BaseException {
42 constructor(path: string);
43}
44/**
45 * @deprecated since version 14. Create a custom exception implementation instead.
46 */
47export declare class UnimplementedException extends BaseException {
48 constructor();
49}
50/**
51 * @deprecated since version 14. Create a custom exception implementation instead.
52 */
53export declare class UnsupportedPlatformException extends BaseException {
54 constructor();
55}