package com.codebyte.api.auth.service;

import com.codebyte.api.common.error.ApiException;
import com.codebyte.api.common.error.ErrorCode;

/** Thrown when a correct login targets an account that has not been activated. */
public class AccountNotActivatedException extends ApiException {

    public AccountNotActivatedException() {
        super(ErrorCode.ACCOUNT_NOT_ACTIVATED, "Account is not activated");
    }
}
