def reconfigured(cls, prior_prefix: str):
        """Create a reconfigured variant of this exception.

        The only present reconfiguration that is recognized is a table_prefix
        change. A guess as to the prior prefix is included in the exception and
        message.
        """
        return cls(
            "Database has been reconfigured. "
            f'Please update it by running `TruSession().migrate_database(prior_prefix="{prior_prefix}")`'
            " or reset it by running `TruSession.reset_database()`.",
            cls.Reason.RECONFIGURED,
            prior_prefix=prior_prefix,
        )
Create a reconfigured variant of this exception.

        The only present reconfiguration that is recognized is a table_prefix
        change. A guess as to the prior prefix is included in the exception and
        message.
        
src/core/trulens/core/database/exceptions.py