AirstreamError

com.raquo.airstream.core.AirstreamError
See theAirstreamError companion class

Attributes

Companion
class
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

case class CombinedError(causes: Seq[Option[Throwable]]) extends AirstreamError

Attributes

Supertypes
trait Product
trait Equals
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
case class DebugError(error: Throwable, cause: Option[Throwable]) extends AirstreamError

Attributes

Supertypes
trait Product
trait Equals
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
case class ErrorHandlingError(error: Throwable, cause: Throwable) extends AirstreamError

Attributes

Supertypes
trait Product
trait Equals
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
case class ObserverError(error: Throwable) extends AirstreamError

Attributes

Supertypes
trait Product
trait Equals
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
case class ObserverErrorHandlingError(error: Throwable, cause: Throwable) extends AirstreamError

Attributes

Supertypes
trait Product
trait Equals
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
case class TransactionDepthExceeded(trx: Transaction, depth: Int) extends AirstreamError

Attributes

Supertypes
trait Product
trait Equals
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
case class VarError(message: String, cause: Option[Throwable]) extends AirstreamError

Attributes

Supertypes
trait Product
trait Equals
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def getFullMessage(e: Throwable): String
def getStackTrace(err: Throwable, newline: String): String
def registerUnhandledErrorCallback(fn: Throwable => Unit): Unit
def sendUnhandledError(err: Throwable): 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).

Attributes

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

The safe way to rethrow an unhandled error

The safe way to rethrow an unhandled error

Attributes

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.

Attributes