/FileExtraction/Java_unseen/ClimbAssist_ClimbAssistService/src/main/java/com/climbassist/api/recaptcha/RecaptchaVerificationException.java
package com.climbassist.api.recaptcha;

import com.climbassist.api.user.authentication.AuthenticationException;
import lombok.NonNull;

import java.util.Set;

public class RecaptchaVerificationException extends AuthenticationException {

    public RecaptchaVerificationException(@NonNull Set<String> errorCodes) {
        super(String.format("Unable to verify reCAPTCHA response. Error codes: %s", errorCodes));
    }

    @Override
    public String getType() {
        return getClass().getSimpleName();
    }
}
