MissingKey

zio.blocks.schema.OpticCheck.MissingKey
case class MissingKey(full: DynamicOptic, prefix: DynamicOptic, key: Any) extends Warning

A key step found a map without key. In a check from SchemaExpr#eval, key is a String rendering of the key.

Attributes

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

Members list

Value members

Concrete methods

def message: String

A sentence that describes the problem and names both paths.

A sentence that describes the problem and names both paths.

Attributes

Source
OpticCheck.scala

Inherited methods

def isError: Boolean

Returns true if this problem is an OpticCheck.Error.

Returns true if this problem is an OpticCheck.Error.

Attributes

Inherited from:
Single
Source
OpticCheck.scala
def isWarning: Boolean

Returns true if this problem is an OpticCheck.Warning.

Returns true if this problem is an OpticCheck.Warning.

Attributes

Inherited from:
Single
Source
OpticCheck.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