ErrorAltPicker

final class ErrorAltPicker[E](alts: Vector[Alt[Schema, E, _]])

Utility class to help find the best alternative out of a error union type. This is useful when deserializing on the client side of a request/ response round trip.

Value parameters:
alts

alternatives of the error union to choose from

class Object
trait Matchable
class Any

Value members

Concrete methods

def getPreciseAlternative(status: Int): Option[Alt[Schema, E, _]]
def orderedForStatus(status: Int): Vector[Alt[Schema, E, _]]