implicit final class EitherStringPartialTransformerOps[A] extends AnyVal
Lifts scala.Either into io.scalaland.chimney.partial.Result.
- A
type of value inside Option
- Since
0.7.0
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- EitherStringPartialTransformerOps
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new EitherStringPartialTransformerOps(either: Either[String, A])
- either
value to convert
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def toPartialResult: Result[A]
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
- def toString(): String
- Definition Classes
- Any