MigrationErrorKind

zio.blocks.schema.SchemaError.MigrationErrorKind
See theMigrationErrorKind companion trait

The kinds of MigrationError: PathNotFound (the path does not exist in the value), TypeMismatch (the value has the type actual where expected was required), MissingDefault (the field has no default value), TransformFailed and InvalidValue (with a reason), FieldNotFound, FieldAlreadyExists, CaseNotFound, and MandateFailed (making an optional field mandatory failed; not raised by the built-in migrations).

Attributes

Companion
trait
Source
SchemaError.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

case class CaseNotFound(caseName: String) extends MigrationErrorKind

Attributes

Source
SchemaError.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class FieldAlreadyExists(fieldName: String) extends MigrationErrorKind

Attributes

Source
SchemaError.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class FieldNotFound(fieldName: String) extends MigrationErrorKind

Attributes

Source
SchemaError.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class InvalidValue(reason: String) extends MigrationErrorKind

Attributes

Source
SchemaError.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class MandateFailed(reason: String) extends MigrationErrorKind

Attributes

Source
SchemaError.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class MissingDefault(fieldName: String) extends MigrationErrorKind

Attributes

Source
SchemaError.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case object PathNotFound extends MigrationErrorKind

Attributes

Source
SchemaError.scala
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Self type
case class TransformFailed(reason: String) extends MigrationErrorKind

Attributes

Source
SchemaError.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
case class TypeMismatch(expected: String, actual: String) extends MigrationErrorKind

Attributes

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

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror
Source
Mirror.scala