UncaughtThrowableStrategy

interface UncaughtThrowableStrategy

A strategy for handling unexpected and uncaught Throwables thrown by futures run on the pool.

Functions

Link copied to clipboard
abstract fun handle(t: Throwable)

Properties

Link copied to clipboard
val DEFAULT: GlideExecutor.UncaughtThrowableStrategy
The default strategy, currently LOG.
Link copied to clipboard
val IGNORE: GlideExecutor.UncaughtThrowableStrategy
Silently catches and ignores the uncaught Throwables.
Link copied to clipboard
val LOG: GlideExecutor.UncaughtThrowableStrategy
Logs the uncaught Throwables using TAG and Log.
Link copied to clipboard
val THROW: GlideExecutor.UncaughtThrowableStrategy
Rethrows the uncaught Throwables to crash the app.