async def METHOD_NAME(self, interaction: Interaction[ClientT], error: Exception, /) -> None:
    """|coro|
    A callback that is called when :meth:`on_submit`
    fails with an error.
    The default implementation logs to the library logger.
    Parameters
    -----------
    interaction: :class:`~discord.Interaction`
        The interaction that led to the failure.
    error: :class:`Exception`
        The exception that was raised.
    """
    _log.error('Ignoring exception in modal %r:', self, exc_info=error)