implicit final class RightBiasedEither[A, B] extends AnyVal
- Source
- BackendReporting.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- RightBiasedEither
- AnyVal
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from RightBiasedEither[A, B] to any2stringadd[RightBiasedEither[A, B]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (RightBiasedEither[A, B], B)
- Implicit
- This member is added by an implicit conversion from RightBiasedEither[A, B] to ArrowAssoc[RightBiasedEither[A, B]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
ensuring(cond: (RightBiasedEither[A, B]) ⇒ Boolean, msg: ⇒ Any): RightBiasedEither[A, B]
- Implicit
- This member is added by an implicit conversion from RightBiasedEither[A, B] to Ensuring[RightBiasedEither[A, B]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (RightBiasedEither[A, B]) ⇒ Boolean): RightBiasedEither[A, B]
- Implicit
- This member is added by an implicit conversion from RightBiasedEither[A, B] to Ensuring[RightBiasedEither[A, B]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): RightBiasedEither[A, B]
- Implicit
- This member is added by an implicit conversion from RightBiasedEither[A, B] to Ensuring[RightBiasedEither[A, B]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): RightBiasedEither[A, B]
- Implicit
- This member is added by an implicit conversion from RightBiasedEither[A, B] to Ensuring[RightBiasedEither[A, B]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from RightBiasedEither[A, B] to StringFormat[RightBiasedEither[A, B]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
def
get: B
Get the value, fail with an assertion if this is an error.
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
orThrow: B
Get the right value of an
Either
by throwing a potential error message.Get the right value of an
Either
by throwing a potential error message. Can simplify the implementation of methods that act on multipleEither
instances. Instead of flat-mapping, the first error can be collected astryEither { eitherOne.orThrow .... eitherTwo.orThrow ... eitherThree.orThrow }
-
def
toString(): String
- Definition Classes
- Any
- val v: Either[A, B]
- def withFilter(f: (B) ⇒ Boolean)(implicit empty: A): Either[A, B]
-
def
→[B](y: B): (RightBiasedEither[A, B], B)
- Implicit
- This member is added by an implicit conversion from RightBiasedEither[A, B] to ArrowAssoc[RightBiasedEither[A, B]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
The Scala compiler and reflection APIs.