Message

zio.blocks.schema.SchemaError.Message
case class Message(source: DynamicOptic, details: String) extends Single

A failure described by the free text details.

Unlike the other kinds, its message renders the path with DynamicOptic#toString, as in .format or .~ for a wrapped value, rather than with DynamicOptic#toScalaString, as in .format.when[Ebook] or .wrapped.

Attributes

Source
SchemaError.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Single
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def message: String

The text of this failure. Most kinds end it with at: and the path.

The text of this failure. Most kinds end it with at: and the path.

Attributes

Definition Classes
Source
SchemaError.scala

Inherited methods

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