DecodeFailed

dev.constructive.eo.circe.JsonFailure.DecodeFailed
final case class DecodeFailed(step: PathStep, cause: DecodingFailure)

Decoder refused at step. step is PathStep.Field("") at root-level decode failures on a path-empty prism.

Attributes

Source
JsonFailure.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:
JsonFailure
Source
JsonFailure.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