AvroFailure

dev.constructive.eo.avro.AvroFailure
See theAvroFailure companion enum
object AvroFailure

Attributes

Companion
enum
Source
AvroFailure.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self 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
Source
Mirror.scala
type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Givens

Givens

Structural equality — two AvroFailure values are equal iff they are the same case with the same arguments. Throwable-bearing cases (DecodeFailed, BinaryParseFailed, JsonParseFailed, SchemaResolutionFailed, EncodeFailed, ResolveFailed) fall back to reference equality; tests that need to assert on the failure shape pattern-match the case instead of comparing whole values.

Structural equality — two AvroFailure values are equal iff they are the same case with the same arguments. Throwable-bearing cases (DecodeFailed, BinaryParseFailed, JsonParseFailed, SchemaResolutionFailed, EncodeFailed, ResolveFailed) fall back to reference equality; tests that need to assert on the failure shape pattern-match the case instead of comparing whole values.

Required for Eq[Chain[AvroFailure]] to be summonable at specs2-=== call sites.

Attributes

Source
AvroFailure.scala