package com.codebyte.api.auth.service;

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

/** Thrown when login is attempted against an account locked by too many failed attempts. */
public class AccountLockedException extends ApiException {

    public AccountLockedException() {
        super(ErrorCode.ACCOUNT_LOCKED, "Account is temporarily locked");
    }
}
