Object

kantan.csv

DecodeResult

Related Doc: package csv

Permalink

object DecodeResult extends WithDefault[DecodeError]

Provides convenience methods for creating instances of DecodeResult.

Linear Supertypes
WithDefault[DecodeError], Simple[DecodeError], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DecodeResult
  2. WithDefault
  3. Simple
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply[S](s: ⇒ S): Result[DecodeError, S]

    Permalink
    Definition Classes
    WithDefault
    Annotations
    @inline()
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def failure(f: DecodeError): Result[DecodeError, Nothing]

    Permalink
    Definition Classes
    Simple
    Annotations
    @inline()
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def fromEither[S](e: Either[DecodeError, S]): Result[DecodeError, S]

    Permalink
    Definition Classes
    Simple
    Annotations
    @inline()
  12. def fromOption[S](o: Option[S], f: ⇒ DecodeError): Result[DecodeError, S]

    Permalink
    Definition Classes
    Simple
    Annotations
    @inline()
  13. def fromThrowable(t: Throwable): TypeError

    Permalink
    Attributes
    protected
    Definition Classes
    DecodeResult → WithDefault
  14. def fromTry[S](t: Try[S]): Result[DecodeError, S]

    Permalink
    Definition Classes
    WithDefault
    Annotations
    @inline()
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. def outOfBounds(index: Int): DecodeResult[Nothing]

    Permalink

    Creates a new DecodeResult failure wrapping a DecodeError.OutOfBounds error.

    Creates a new DecodeResult failure wrapping a DecodeError.OutOfBounds error.

    scala> DecodeResult.outOfBounds(1)
    res0: DecodeResult[Nothing] = Failure(OutOfBounds: 1 is not a valid index)
  22. def sequence[S, M[X] <: TraversableOnce[X]](rs: M[Result[DecodeError, S]])(implicit cbf: CanBuildFrom[M[Result[DecodeError, S]], S, M[S]]): Result[DecodeError, M[S]]

    Permalink
    Definition Classes
    Simple
    Annotations
    @inline()
  23. def success[S](s: S): Result[DecodeError, S]

    Permalink
    Definition Classes
    Simple
    Annotations
    @inline()
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  26. def typeError(e: Exception): DecodeResult[Nothing]

    Permalink

    Creates a new DecodeResult failure wrapping a DecodeError.TypeError error.

    Creates a new DecodeResult failure wrapping a DecodeError.TypeError error.

    scala> DecodeResult.typeError(new Exception("not a valid int"))
    res0: DecodeResult[Nothing] = Failure(TypeError: not a valid int)
  27. def typeError(str: String): DecodeResult[Nothing]

    Permalink

    Creates a new DecodeResult failure wrapping a DecodeError.TypeError error.

    Creates a new DecodeResult failure wrapping a DecodeError.TypeError error.

    scala> DecodeResult.typeError("not a valid int")
    res0: DecodeResult[Nothing] = Failure(TypeError: not a valid int)
  28. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from WithDefault[DecodeError]

Inherited from Simple[DecodeError]

Inherited from AnyRef

Inherited from Any

Ungrouped