BinaryParseFailed

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

Input Array[Byte] didn't parse as an Avro binary record under the supplied schema. Surfaced only by the Avro | Array[Byte] overloads; when the caller passes a parsed org.apache.avro.generic.IndexedRecord directly this case cannot fire.

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