def METHOD_NAME(self) -> None:
    self.continue_button.clicked.disconnect()
    self.continue_button.clicked.connect(self.close)
    self.continue_button.setText(_("DONE"))
    self.header.setText(self.error_header)
    self.body.setText(  # nosemgrep: semgrep.untranslated-gui-string
        "{}: {}".format(self.error_status, self.generic_error_message)
    )
    self.error_details.hide()
    self.adjustSize()