BuildFailure

final case class BuildFailure[T](typeInfo: TypeInfo[T], message: Option[String])

Signals a failed decoding operation, via HasBuilder.build.

For example, this can happen when decoding from JSON, this result being used to signal an issue with the JSON document.

Companion:
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def toException: IllegalArgumentException
def toReadableString: String

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product