ResolveFailed

dev.constructive.eo.avro.AvroFailure.ResolveFailed
final case class ResolveFailed(cause: Throwable)

Avro schema resolution refused — the read schema (what the bytes were written under) and the write schema (the resolve target) aren't compatible, so ResolvingDecoder can't translate the payload. The wrapped Throwable is whatever apache-avro's resolving GenericDatumReader threw (typically an AvroTypeException). Surfaced by AvroCodec.decodeResolvedRecord / decodeResolvedValue and the ConfluentWire resolving reader.

Attributes

Source
AvroFailure.scala

Members list

Value members

Inherited methods

def message: String

Human-readable diagnostic. Kept separate from toString so the default enum representation remains useful for structural inspection / pattern-matching-in-tests.

Human-readable diagnostic. Kept separate from toString so the default enum representation remains useful for structural inspection / pattern-matching-in-tests.

Attributes

Inherited from:
AvroFailure
Source
AvroFailure.scala
def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala