feat(domain-manager): refactor custom domain validation and improve c… (#13388)
This commit is contained in:
+1
-5
@@ -1,10 +1,6 @@
|
||||
import { CustomException } from 'src/utils/custom-exception';
|
||||
|
||||
export class DataSourceException extends CustomException {
|
||||
constructor(message: string, code: DataSourceExceptionCode) {
|
||||
super(message, code);
|
||||
}
|
||||
}
|
||||
export class DataSourceException extends CustomException<DataSourceExceptionCode> {}
|
||||
|
||||
export enum DataSourceExceptionCode {
|
||||
DATA_SOURCE_NOT_FOUND = 'DATA_SOURCE_NOT_FOUND',
|
||||
|
||||
Reference in New Issue
Block a user