package exceptions
- Alphabetic
- Public
- All
Type Members
-
class
APIContractViolationException
extends RuntimeException with Serializable
Generic exception thrown on API contract violations.
-
class
BufferOverflowException
extends RuntimeException with Serializable
An exception emitted on buffer overflows, like when using OverflowStrategy.Fail.
-
class
CompositeException
extends RuntimeException with Serializable
A composite exception represents a list of exceptions that were caught while delaying errors.
-
class
DownstreamTimeoutException
extends TimeoutException with Serializable
Exception thrown whenever a downstream listener on a back-pressured data-source is taking too long to process a received event.
-
final
case class
DummyException
(message: String) extends RuntimeException with Serializable with Product
Used in testing to trigger dummy exceptions.
Used in testing to trigger dummy exceptions.
Not to be used for anything except in testing, since this exception type implements structural equality.
This means that these 2 exceptions are considered equal, even if they have different stack-traces:
val dummy1 = DummyException("dummy") val dummy2 = DummyException("dummy") dummy == dummy2 //=> true
-
class
ExecutionRejectedException
extends RuntimeException with Serializable
Exception thrown whenever an execution attempt was rejected.
Exception thrown whenever an execution attempt was rejected.
Such execution attempts can come for example from
Task
or from methods returningFuture
references, with this exception being thrown in case the execution was rejected due to in place protections, such as a circuit breaker. -
class
UpstreamTimeoutException
extends TimeoutException with Serializable
Exception thrown whenever a upstream listener on a back-pressured data-source is taking too long to process a received event.
Value Members
- object APIContractViolationException extends AbstractFunction1[String, APIContractViolationException] with Serializable
- object BufferOverflowException extends AbstractFunction1[String, BufferOverflowException] with Serializable
- object CompositeException extends AbstractFunction1[Seq[Throwable], CompositeException] with Serializable
- object DownstreamTimeoutException extends AbstractFunction1[FiniteDuration, DownstreamTimeoutException] with Serializable
- object ExecutionRejectedException extends AbstractFunction1[String, ExecutionRejectedException] with Serializable
- object UpstreamTimeoutException extends AbstractFunction1[FiniteDuration, UpstreamTimeoutException] with Serializable
This is the API documentation for the Monix library.
Package Overview
monix.execution exposes lower level primitives for dealing with asynchronous execution:
Atomic
types, as alternative tojava.util.concurrent.atomic
monix.eval is for dealing with evaluation of results, thus exposing Task and Coeval.
monix.reactive exposes the
Observable
pattern:Observable
implementationsmonix.types implements type-class shims, to be translated to type-classes provided by libraries such as Cats or Scalaz.
monix.cats is the optional integration with the Cats library, providing translations for the types described in
monix.types
.monix.scalaz is the optional integration with the Scalaz library, providing translations for the types described in
monix.types
.