from fastapi import HTTPException

class PasswordValidationException(HTTPException):
    def __init__(self, message: str):
        super().__init__(
            status_code=400,
            detail={
                "data": None,
                "hasError": True,
                "message": message
            }
        )
