Skip to content

Commit 64781f6

Browse files
hanslmgechev
authored andcommitted
refactor(@angular-devkit/core): UnknownException should still extend Base
1 parent 3a28d4c commit 64781f6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

etc/api/angular_devkit/core/src/_golden-api.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -979,7 +979,7 @@ export declare class UnimplementedException extends BaseException {
979979
constructor();
980980
}
981981

982-
export declare class UnknownException extends Error {
982+
export declare class UnknownException extends BaseException {
983983
constructor(message: string);
984984
}
985985

packages/angular_devkit/core/src/exception/exception.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export class BaseException extends Error {
1313
}
1414

1515

16-
export class UnknownException extends Error {
16+
export class UnknownException extends BaseException {
1717
constructor(message: string) { super(message); }
1818
}
1919

0 commit comments

Comments
 (0)