Single

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

One problem found while following an optic: an OpticCheck.Error or an OpticCheck.Warning.

Attributes

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

Members list

Value members

Abstract methods

The path of the whole optic that was being followed.

The path of the whole optic that was being followed.

Attributes

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

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

Source
OpticCheck.scala

Concrete methods

def isError: Boolean

Returns true if this problem is an OpticCheck.Error.

Returns true if this problem is an OpticCheck.Error.

Attributes

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

Source
OpticCheck.scala