/FileExtraction/Java_unseen/ClimbAssist_ClimbAssistService/src/main/java/com/climbassist/api/user/authentication/EmailExistsException.java
package com.climbassist.api.user.authentication;

import com.climbassist.api.user.Alias;
import lombok.NonNull;

public class EmailExistsException extends AliasExistsException {

    public EmailExistsException(@NonNull String email) {
        super(new Alias(email, Alias.AliasType.EMAIL));
    }

    @Override
    public String getType() {
        return "EmailExistsException";
    }
}
