JsonParseFailed

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

Input String didn't parse as Avro JSON wire format under the supplied schema. Surfaced only by the Avro | Array[Byte] | String overloads; record / bytes input cannot trigger this case. The wrapped Throwable is whatever apache-avro's JsonDecoder / GenericDatumReader threw — typically an AvroTypeException for shape mismatches, an IOException for malformed JSON, or an org.apache.avro.AvroRuntimeException for misc apache-avro complaints.

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