Errors

io.hireproof.structure.Errors$
See theErrors companion class
object Errors

Attributes

Companion:
class
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Errors.type

Members list

Concise view

Type members

Classlikes

final case class Failure(message: String, history: History)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
final case class Failures(values: List[Failure]) extends Errors

Attributes

Graph
Supertypes
trait Product
trait Equals
class Errors
class Throwable
trait Serializable
class Object
trait Matchable
class Any
final case class Validations(violations: Violations) extends Errors

Attributes

Graph
Supertypes
trait Product
trait Equals
class Errors
class Throwable
trait Serializable
class Object
trait Matchable
class Any

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def failure(message: String): Errors
def failures(messages: List[String]): Errors
def fromThrowable(throwable: Throwable): Errors
def one(history: History, violations: NonEmptyList[Violation]): Validations
def oneNel(history: History, violation: Violation): Validations
def root(violations: NonEmptyList[Violation]): Validations
def rootNel(violation: Violation): Validations

Implicits

Implicits

implicit val semigroup: Semigroup[Errors]