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