handleError

open suspend fun handleError(context: C, t: Throwable, button: SelectMenu<*, *>)

A general way to handle errors thrown during the course of a select menu action's execution.