ErrBiAcc

ostrat.ErrBiAcc
See theErrBiAcc companion object
class ErrBiAcc[+E <: Throwable, +B](val errsArray: Array[E], val succsArray: Array[B]) extends ErrBiAccBase[E, B]

immutable class for accumulated ErrBi, biased bifunctor for errors.

Attributes

Companion
object
Graph
Supertypes
trait ErrBiAccBase[E, B]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def +%(newElem: ErrBi[E, B])(using ctE: ClassTag[E], ctB: ClassTag[B]): ErrBiAcc[E, B]

Appends ErrBiAcc to this accumulator. Order of successes and fails is preserved but not the overall order.

Appends ErrBiAcc to this accumulator. Order of successes and fails is preserved but not the overall order.

Attributes

def ++(operand: ErrBiAcc[E, B])(using ctE: ClassTag[E], ctB: ClassTag[B]): ErrBiAcc[E, B]

Appends ErrBi element to this accumulator. Order of successes and fails is preserved but not the overall order.

Appends ErrBi element to this accumulator. Order of successes and fails is preserved but not the overall order.

Attributes

override def errHead: E

The first error may throw exception if no errors.

The first error may throw exception if no errors.

Attributes

Definition Classes
override def errNum: Int

The number of accumulated errors.

The number of accumulated errors.

Attributes

Definition Classes
def errs: RArr[E]

The accumulated errors.

The accumulated errors.

Attributes

def errsSummary(using evST: ShowType[B]): String
override def errsforeach(f: E => Unit): Unit

Foreachs over each error.

Foreachs over each error.

Attributes

Definition Classes
def msg2ErrsSummary(succMsg1: String, succMsg2: String)(using evST: ShowType[B]): String
def msgErrsSummary(succMsg: String)(using evST: ShowType[B]): String
override def succNum: Int

The number of accumulated successes.

The number of accumulated successes.

Attributes

Definition Classes
def succs: RArr[B]

The accumulated successes.

The accumulated successes.

Attributes

def summaryLine(using evST: ShowType[B]): String
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any

Inherited methods

Have there been no errors.

Have there been no errors.

Attributes

Inherited from:
ErrBiAccBase

Prints out each error to the console, on its own line

Prints out each error to the console, on its own line

Attributes

Inherited from:
ErrBiAccBase

Concrete fields

val errsArray: Array[E]
val succsArray: Array[B]