ErrBi

ostrat.ErrBi
See theErrBi companion trait
object ErrBi

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
ErrBi.type

Members list

Value members

Concrete methods

def map2[E <: Throwable, A1, A2, B](eb1: ErrBi[E, A1], eb2: ErrBi[E, A2])(f: (A1, A2) => B): ErrBi[E, B]
def map3[E <: Throwable, A1, A2, A3, B](eb1: ErrBi[E, A1], eb2: ErrBi[E, A2], eb3: ErrBi[E, A3])(f: (A1, A2, A3) => B): ErrBi[E, B]
def map4[E <: Throwable, A1, A2, A3, A4, B](eb1: ErrBi[E, A1], eb2: ErrBi[E, A2], eb3: ErrBi[E, A3], eb4: ErrBi[E, A4])(f: (A1, A2, A3, A4) => B): ErrBi[E, B]
def map5[E <: Throwable, A1, A2, A3, A4, A5, B](eb1: ErrBi[E, A1], eb2: ErrBi[E, A2], eb3: ErrBi[E, A3], eb4: ErrBi[E, A4], eb5: ErrBi[E, A5])(f: (A1, A2, A3, A4, A5) => B): ErrBi[E, B]
def map6[E <: Throwable, A1, A2, A3, A4, A5, A6, B](eb1: ErrBi[E, A1], eb2: ErrBi[E, A2], eb3: ErrBi[E, A3], eb4: ErrBi[E, A4], eb5: ErrBi[E, A5], eb6: ErrBi[E, A6])(f: (A1, A2, A3, A4, A5, A6) => B): ErrBi[E, B]

Givens

Givens

given eqTEv[E <: Throwable, A](using evA: EqT[A]): EqT[ErrBi[E, A]]

Extensions

Extensions

extension [E <: Throwable](thisErrBi: ErrBi[E, String])
def findSetting[A](settingStr: String)(using ev: Unshow[A]): ErrBi[Throwable, A]
def findSettingElse[A : Unshow](settingStr: String, elseValue: => A): A
def findSomeSetting[A : Unshow](settingStr: String, elseValue: => A): A
def findSomeSettingElse[A : Unshow](settingStr: String, elseValue: => A): A
def findType[A](using ev: Unshow[A]): ErrBi[Throwable, A]

Extension method to map this ErrBi String to find a value of the given type from the String parsed as RSON.

Extension method to map this ErrBi String to find a value of the given type from the String parsed as RSON.

Attributes

def findTypeElse[A](elseValue: => A)(using ev: Unshow[A]): A

Extension method to map this ErrBi String to find a value of the given type from the String parsed as RSON or return the elseValue if that fails.

Extension method to map this ErrBi String to find a value of the given type from the String parsed as RSON or return the elseValue if that fails.

Attributes

def findTypeForeach[A : Unshow](f: A => Unit): Unit

Extension method to map this ErrBi String to find a value of the given type from the String parsed as RSON and then perform a foreach on the value if successful.

Extension method to map this ErrBi String to find a value of the given type from the String parsed as RSON and then perform a foreach on the value if successful.

Attributes