RuleBasedExceptionClassifier

Convenience interface for rules-based ExceptionClassifier implementations.

Inheritors

Types

Link copied to clipboard
interface Rule : Ordered

Properties

Link copied to clipboard
abstract val orderValue: Int

Convenience val for getOrder.

Link copied to clipboard
abstract val rules: List<T>

List of rules to match for.

Functions

Link copied to clipboard
open override fun classify(e: Throwable): ConnectorError?

Classifies e into a ConnectorError if possible, null otherwise.

Link copied to clipboard
open override fun getOrder(): Int