AirstreamError

Companion:
class
trait Sum
trait Mirror
class Object
trait Matchable
class Any

Type members

Classlikes

case class CombinedError(causes: Seq[Option[Throwable]]) extends AirstreamError
case class DebugError(error: Throwable, cause: Option[Throwable]) extends AirstreamError
case class ErrorHandlingError(error: Throwable, cause: Throwable) extends AirstreamError
case class ObserverError(error: Throwable) extends AirstreamError
case class ObserverErrorHandlingError(error: Throwable, cause: Throwable) extends AirstreamError
case class VarError(message: String, cause: Option[Throwable]) extends AirstreamError

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from:
Mirror

Value members

Concrete methods

def registerUnhandledErrorCallback(fn: Throwable => Unit): Unit
def unregisterUnhandledErrorCallback(fn: Throwable => Unit): Unit

Concrete fields

val consoleErrorCallback: Throwable => Unit

Note: In IE, console is not defined unless the developer tools console is actually open. Some test environments might be lacking the console as well (e.g. node.js without jsdom).

Note: In IE, console is not defined unless the developer tools console is actually open. Some test environments might be lacking the console as well (e.g. node.js without jsdom).

val debuggerErrorCallback: Throwable => Unit
val delayedRethrowErrorCallback: Throwable => Unit

The safe way to rethrow an unhandled error

The safe way to rethrow an unhandled error

val unsafeRethrowErrorCallback: Throwable => Unit

Note: this callback is allowed to throw, it is treated specially in sendUnhandledError such that other callbacks might not run after it. It's useful to fail tests in case of unhandled errors.

Note: this callback is allowed to throw, it is treated specially in sendUnhandledError such that other callbacks might not run after it. It's useful to fail tests in case of unhandled errors.