DecodeError

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

Attributes

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

Members list

Type members

Classlikes

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

Attributes

Source
DecodeError.scala
Supertypes
trait Product
trait Equals
trait DecodeError
trait NoStackTrace
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class CastError[A](value: DynamicValue, schema: Schema[A]) extends DecodeError

Attributes

Source
DecodeError.scala
Supertypes
trait Product
trait Equals
trait DecodeError
trait NoStackTrace
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class EmptyContent(message: String) extends DecodeError

Attributes

Source
DecodeError.scala
Supertypes
trait Product
trait Equals
trait DecodeError
trait NoStackTrace
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class ExtraFields(fieldName: String, message: String) extends DecodeError

Attributes

Source
DecodeError.scala
Supertypes
trait Product
trait Equals
trait DecodeError
trait NoStackTrace
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class IncompatibleShape(values: ListMap[String, DynamicValue], structure: Chunk[Field[_, _]]) extends DecodeError

Attributes

Source
DecodeError.scala
Supertypes
trait Product
trait Equals
trait DecodeError
trait NoStackTrace
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class MalformedField(value: Schema[_], message: String) extends DecodeError

Attributes

Source
DecodeError.scala
Supertypes
trait Product
trait Equals
trait DecodeError
trait NoStackTrace
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class MalformedFieldWithPath(path: Chunk[String], message: String) extends DecodeError

Attributes

Source
DecodeError.scala
Supertypes
trait Product
trait Equals
trait DecodeError
trait NoStackTrace
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class MissingCase(key: String, enumN: Enum[_]) extends DecodeError

Attributes

Source
DecodeError.scala
Supertypes
trait Product
trait Equals
trait DecodeError
trait NoStackTrace
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class MissingField(value: Schema[_], message: String) extends DecodeError

Attributes

Source
DecodeError.scala
Supertypes
trait Product
trait Equals
trait DecodeError
trait NoStackTrace
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class Or(left: DecodeError, right: DecodeError) extends DecodeError

Attributes

Source
DecodeError.scala
Supertypes
trait Product
trait Equals
trait DecodeError
trait NoStackTrace
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class ReadError(cause: Cause[Any], message: String) extends DecodeError

Attributes

Source
DecodeError.scala
Supertypes
trait Product
trait Equals
trait DecodeError
trait NoStackTrace
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class ReadErrorWithPath(path: Chunk[String], cause: Cause[Any], message: String) extends DecodeError

Attributes

Source
DecodeError.scala
Supertypes
trait Product
trait Equals
trait DecodeError
trait NoStackTrace
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class RecordMissingField[R](record: Record[R], field: Field[R, _], message: String) extends DecodeError

Attributes

Source
DecodeError.scala
Supertypes
trait Product
trait Equals
trait DecodeError
trait NoStackTrace
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class UnsupportedSchema(schema: Schema[_], decoderName: String) extends DecodeError

Attributes

Source
DecodeError.scala
Supertypes
trait Product
trait Equals
trait DecodeError
trait NoStackTrace
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final case class ValidationError(validation: Validation[_], field: Field[_, _], message: String) extends DecodeError

Attributes

Source
DecodeError.scala
Supertypes
trait Product
trait Equals
trait DecodeError
trait NoStackTrace
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Inherited and Abstract types

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror
Source
Mirror.scala