ErrBiAccBase

ostrat.ErrBiAccBase
See theErrBiAccBase companion object
trait ErrBiAccBase[+E <: Throwable, +B]

Trait for the accumulation of successes and errors.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class ErrBiAcc[E, B]
class ErrBiAccBuff[E, B]

Members list

Value members

Abstract methods

def errHead: E

The first error may throw exception if no errors.

The first error may throw exception if no errors.

Attributes

def errNum: Int

The number of accumulated errors.

The number of accumulated errors.

Attributes

def errsforeach(f: E => Unit): Unit

Foreachs over each error.

Foreachs over each error.

Attributes

def succNum: Int

The number of accumulated successes.

The number of accumulated successes.

Attributes

Concrete methods

Have there been no errors.

Have there been no errors.

Attributes

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

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

Attributes

def summaryStr(leadStr: String)(implicit ev: ErrBiSummary[E, B]): String
Implicitly added by errBiAccBaseExtensions

Extension method to produce a summary line of the successes and failures of this ErrBiAccBase.

Extension method to produce a summary line of the successes and failures of this ErrBiAccBase.

Attributes