DecodeError

zio.schema.codec.DecodeError$
See theDecodeError companion trait

Attributes

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

Members list

Concise view

Type members

Classlikes

final case class And(left: DecodeError, right: DecodeError) extends DecodeError

Attributes

Graph
Supertypes
trait Product
trait Equals
class Exception
class Throwable
class Object
trait Matchable
class Any
final case class CastError[A](value: DynamicValue, schema: Schema[A]) extends DecodeError

Attributes

Graph
Supertypes
trait Product
trait Equals
class Exception
class Throwable
class Object
trait Matchable
class Any
final case class EmptyContent(message: String) extends DecodeError

Attributes

Graph
Supertypes
trait Product
trait Equals
class Exception
class Throwable
class Object
trait Matchable
class Any
final case class ExtraFields(fieldName: String, message: String) extends DecodeError

Attributes

Graph
Supertypes
trait Product
trait Equals
class Exception
class Throwable
class Object
trait Matchable
class Any
final case class IncompatibleShape(values: ListMap[String, DynamicValue], structure: Chunk[Field[_, _]]) extends DecodeError

Attributes

Graph
Supertypes
trait Product
trait Equals
class Exception
class Throwable
class Object
trait Matchable
class Any
final case class MalformedField(value: Schema[_], message: String) extends DecodeError

Attributes

Graph
Supertypes
trait Product
trait Equals
class Exception
class Throwable
class Object
trait Matchable
class Any
final case class MalformedFieldWithPath(path: Chunk[String], message: String) extends DecodeError

Attributes

Graph
Supertypes
trait Product
trait Equals
class Exception
class Throwable
class Object
trait Matchable
class Any
final case class MissingCase(key: String, enumN: Enum[_]) extends DecodeError

Attributes

Graph
Supertypes
trait Product
trait Equals
class Exception
class Throwable
class Object
trait Matchable
class Any
final case class MissingField(value: Schema[_], message: String) extends DecodeError

Attributes

Graph
Supertypes
trait Product
trait Equals
class Exception
class Throwable
class Object
trait Matchable
class Any
final case class Or(left: DecodeError, right: DecodeError) extends DecodeError

Attributes

Graph
Supertypes
trait Product
trait Equals
class Exception
class Throwable
class Object
trait Matchable
class Any
final case class ReadError(cause: Cause[Any], message: String) extends DecodeError

Attributes

Graph
Supertypes
trait Product
trait Equals
class Exception
class Throwable
class Object
trait Matchable
class Any
final case class ReadErrorWithPath(path: Chunk[String], cause: Cause[Any], message: String) extends DecodeError

Attributes

Graph
Supertypes
trait Product
trait Equals
class Exception
class Throwable
class Object
trait Matchable
class Any
final case class RecordMissingField[R](record: Record[R], field: Field[R, _], message: String) extends DecodeError

Attributes

Graph
Supertypes
trait Product
trait Equals
class Exception
class Throwable
class Object
trait Matchable
class Any
final case class ValidationError(validation: Validation[_], field: Field[_, _], message: String) extends DecodeError

Attributes

Graph
Supertypes
trait Product
trait Equals
class Exception
class Throwable
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

The name of the type

The name of the type

Attributes

Inherited from:
Mirror