ExceptionHandler

@Singleton
class ExceptionHandler(val classifiers: List<ExceptionClassifier>)

ExceptionHandler applies all available ExceptionClassifier implementations in sequence.

Constructors

Link copied to clipboard
constructor(classifiers: List<ExceptionClassifier>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
fun handle(e: Throwable): AirbyteErrorTraceMessage

Maps e to a AirbyteErrorTraceMessage to be passed to the OutputConsumer.

Link copied to clipboard
fun handleCheckFailure(e: Throwable): Pair<AirbyteErrorTraceMessage, AirbyteConnectionStatus>