SurfaceError

smithy4s.Transformation$.SurfaceError
trait SurfaceError[F[_], G[_, _]]

A transformation that turns a monofunctor algebra into a bifunctor algebra by lifting the known errors in the returned types of the operations of the algebra.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def apply[E, A](fa: F[A], projectError: Throwable => Option[E]): G[E, A]