final class CompositeException(val head: Throwable, val tail: NonEmptyList[Throwable]) extends RuntimeException with Serializable
A composite exception represents a list of exceptions caught from evaluating multiple independent actions and that need to be signaled together.
A composite exception represents a list of exceptions caught from evaluating multiple independent actions and that need to be signaled together.
Note the constructor doesn't allow wrapping anything less than two throwable references.
Use apply for building composite exceptions.
- Companion
- object
class RuntimeException
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any