package com.codebyte.api.auth.service;

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

/** Thrown when an already-rotated refresh token is presented again (token theft signal). */
public class TokenReuseDetectedException extends ApiException {

    public TokenReuseDetectedException() {
        super(ErrorCode.TOKEN_REUSE_DETECTED, "Refresh token reuse detected");
    }
}
