zio.blocks.schema.SchemaError.MigrationErrorKind
See theMigrationErrorKind companion trait
object MigrationErrorKind
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
- Self type
-
MigrationErrorKind.type
Members list
Type members
Classlikes
case class CaseNotFound(caseName: String) extends MigrationErrorKind
Attributes
- Source
- SchemaError.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait MigrationErrorKindclass Objecttrait Matchableclass AnyShow all
case class FieldAlreadyExists(fieldName: String) extends MigrationErrorKind
Attributes
- Source
- SchemaError.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait MigrationErrorKindclass Objecttrait Matchableclass AnyShow all
case class FieldNotFound(fieldName: String) extends MigrationErrorKind
Attributes
- Source
- SchemaError.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait MigrationErrorKindclass Objecttrait Matchableclass AnyShow all
case class InvalidValue(reason: String) extends MigrationErrorKind
Attributes
- Source
- SchemaError.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait MigrationErrorKindclass Objecttrait Matchableclass AnyShow all
case class MandateFailed(reason: String) extends MigrationErrorKind
Attributes
- Source
- SchemaError.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait MigrationErrorKindclass Objecttrait Matchableclass AnyShow all
case class MissingDefault(fieldName: String) extends MigrationErrorKind
Attributes
- Source
- SchemaError.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait MigrationErrorKindclass Objecttrait Matchableclass AnyShow all
case object PathNotFound extends MigrationErrorKind
Attributes
- Source
- SchemaError.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait MigrationErrorKindclass Objecttrait Matchableclass AnyShow all
- Self type
-
PathNotFound.type
case class TransformFailed(reason: String) extends MigrationErrorKind
Attributes
- Source
- SchemaError.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait MigrationErrorKindclass Objecttrait Matchableclass AnyShow all
case class TypeMismatch(expected: String, actual: String) extends MigrationErrorKind
Attributes
- Source
- SchemaError.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait MigrationErrorKindclass Objecttrait Matchableclass AnyShow all
Inherited and Abstract types
The names of the product elements.
The name of the type.
In this article