HandleInfo

data class HandleInfo(val description: String, val handleLevel: (Throwable) -> Int)

This is used to determine how to handle the exception, and the returned value of handleLevel should be one of ThreadExceptionHandler.HANDLE_LEVEL_OFF, ThreadExceptionHandler.HANDLE_LEVEL_CRASH and ThreadExceptionHandler.HANDLE_LEVEL_LOG.

The description is used to describe the crash reason.

Author

KKoishi_

Constructors

Link copied to clipboard
constructor(description: String, handleLevel: (Throwable) -> Int)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
operator fun invoke(r: Throwable): Int