c

io.scalaland.chimney.dsl

EitherStringPartialTransformerOps

implicit final class EitherStringPartialTransformerOps[T] extends AnyVal

Lifts scala.Either into io.scalaland.chimney.partial.Result.

T

type of value inside Option

Since

0.7.0

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EitherStringPartialTransformerOps
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new EitherStringPartialTransformerOps(either: Either[String, T])

    either

    value to convert

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  6. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  7. def toPartialResult: Result[T]

    Converts Either to Result, using an error message from Left as failed result.

    Converts Either to Result, using an error message from Left as failed result.

    returns

    successful result if scala.Right, failed result with an error message if scala.Left

    Since

    0.7.0

  8. def toString(): String
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped