DecodeResult

org.http4s.DecodeResult
object DecodeResult

Attributes

Source
DecodeResult.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply[F[_], A](fa: F[Either[DecodeFailure, A]]): DecodeResult[F, A]

Attributes

Source
DecodeResult.scala
def failure[F[_], A](fe: F[DecodeFailure])(implicit F: Functor[F]): DecodeResult[F, A]

Attributes

Source
DecodeResult.scala
def failureT[F[_], A](e: DecodeFailure)(implicit F: Applicative[F]): DecodeResult[F, A]

Attributes

Source
DecodeResult.scala
def success[F[_], A](fa: F[A])(implicit F: Functor[F]): DecodeResult[F, A]

Attributes

Source
DecodeResult.scala
def successT[F[_], A](a: A)(implicit F: Applicative[F]): DecodeResult[F, A]

Attributes

Source
DecodeResult.scala