SparkExceptionHandler

fun interface SparkExceptionHandler

Implementations of this interface provide a centralized mechanism for dealing with errors and exceptions that may arise when using a Spark component in an unexpected way. This allows for custom error handling logic, such as log reporting for production or crash in development.

Inheritors

Functions

Link copied to clipboard
abstract fun handleException(throwable: Throwable)