Response

com.phasmid.majabigwaduce.core.Response
See theResponse companion class
object Response

Factory object for the Response case class.

Provides functionality to create a Response instance by processing a map of key-value pairs where the values are wrapped in an Either. The left side of the Either represents an error (Throwable), while the right side represents a valid value.

Type parameters

K

the key type.

V

the value type.

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Response.type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def create[K, V](vXeKm: Map[K, Either[Throwable, V]]): Response[K, V]