Warning

zio.blocks.schema.OpticCheck.Warning
sealed trait Warning extends Single

A problem caused by a missing part: an empty collection, an index past the end, or a missing key.

Attributes

Source
OpticCheck.scala
Graph
Supertypes
trait Single
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

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

Inherited and Abstract methods

The path of the whole optic that was being followed.

The path of the whole optic that was being followed.

Attributes

Inherited from:
Single
Source
OpticCheck.scala
def message: String

A sentence that describes the problem and names both paths.

A sentence that describes the problem and names both paths.

Attributes

Inherited from:
Single
Source
OpticCheck.scala

The path from the start up to and including the step where the problem was found.

The path from the start up to and including the step where the problem was found.

Attributes

Inherited from:
Single
Source
OpticCheck.scala