ConnectionException

class ConnectionException(val effect: Any, throwable: Throwable) : RuntimeException

Indicates that a Connectable connection caused an unhandled exception.

This is a programmer error - connections must never throw unhandled exceptions, instead the connection is expected to catch the exception and emit a special error value to its output consumer.

An example of this would be that if loading an HTTP request throws an exception, then the connection should emit a LoadingDataFailed event to communicate the failure to Update.

Constructors

Link copied to clipboard
constructor(effect: Any, throwable: Throwable)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
val effect: Any
Link copied to clipboard
open val message: String?

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int