Packages

o

kantan.codecs.resource

ProcessResult

object ProcessResult extends WithError[ProcessError]

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ProcessResult
  2. WithError
  3. WithDefault
  4. Simple
  5. Simple
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def apply[S](s: => S): Either[ProcessError, S]

    Attempts to evaluate the specified expression.

    Attempts to evaluate the specified expression.

    Definition Classes
    WithDefault
    Annotations
    @inline()
  2. def failure(f: ProcessError): Either[ProcessError, Nothing]

    Turns the specified value into a failure.

    Turns the specified value into a failure.

    Definition Classes
    Simple
    Annotations
    @inline()
  3. def fromThrowable(t: Throwable): ProcessError

    Turns an exception into an error.

    Turns an exception into an error.

    Definition Classes
    WithErrorWithDefault
  4. def fromTry[S](t: Try[S]): Either[ProcessError, S]

    Turns the specified Try into a result.

    Turns the specified Try into a result.

    Definition Classes
    WithDefault
    Annotations
    @inline()
  5. def sequence[S, M[X] <: IterableOnce[X]](rs: M[Either[ProcessError, S]])(implicit bf: BuildFrom[M[Either[ProcessError, S]], S, M[S]]): Either[ProcessError, M[S]]

    Turns a collection of results into a result of a collection.

    Turns a collection of results into a result of a collection.

    Definition Classes
    Simple
    Annotations
    @inline()
  6. def success[S](s: S): Either[ProcessError, S]

    Turns the specified value into a success.

    Turns the specified value into a success.

    Definition Classes
    Simple
    Annotations
    @inline()