package com.codebyte.api.auth.service;

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

/** Thrown when a presented refresh token is unknown or expired. */
public class InvalidRefreshTokenException extends ApiException {

    public InvalidRefreshTokenException() {
        super(ErrorCode.INVALID_REFRESH_TOKEN, "Refresh token is invalid or expired");
    }
}
