<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def create_from_pybankid_exception(cls, exception):
 """Class method for initiating from a `PyBankID` exception. :param bankid.exceptions.BankIDError exception: :return: The wrapped exception. :rtype: :py:class:`~FlaskPyBankIDError` """

        return cls(
            "{0}: {1}".format(exception.__class__.__name__, str(exception)),
            _exception_class_to_status_code.get(exception.__class__),
        )