Object/Class

classy.core

DecodeError

Related Docs: class DecodeError | package core

Permalink

object DecodeError extends DecodeErrorInstances with Serializable

Linear Supertypes
Serializable, Serializable, DecodeErrorInstances, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DecodeError
  2. Serializable
  3. Serializable
  4. DecodeErrorInstances
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. sealed abstract class AggregateError extends DecodeError

    Permalink

    An aggregation of multiple child errors that ocurred

  2. final case class And(head: DecodeError, tail: List[DecodeError]) extends AggregateError with Product with Serializable

    Permalink

    A conjunction of child errors.

    A conjunction of child errors.

    All child errors must be resolved for decoding to succeed.

  3. final case class AtIndex(index: Int, error: DecodeError) extends DecodeError with Product with Serializable

    Permalink

    Qualifies a nested error indicating that it occurred while decoding a particular index within the source traversable data structure

  4. final case class AtPath(path: String, error: DecodeError) extends DecodeError with Product with Serializable

    Permalink

    Qualifies a nested error indicating that it occured while decoding a particular path within the source data structure

  5. sealed trait LeafDecodeError extends DecodeError

    Permalink

    A marker for decode errors that don't have any child errors

  6. final case class Or(head: DecodeError, tail: List[DecodeError]) extends AggregateError with Product with Serializable

    Permalink

    A disjunction of child errors.

    A disjunction of child errors.

    One child error must be resolved for decoding to succeed.

  7. final case class Truncated(raw: String, result: String) extends DecodeError with LeafDecodeError with Product with Serializable

    Permalink

    A value was present and decoded but was truncated during the decoding process.

    A value was present and decoded but was truncated during the decoding process.

    This error typically occurs when strict decoding is used against a backend implementation that normally defaults to lossy decoding that truncates values (generally numeric).

  8. final case class Underlying(underlying: Throwable) extends DecodeError with LeafDecodeError with Product with Serializable

    Permalink

    Indicates that an underlying (and generally unexpected) error occurred while interacting with the source data structure.

    Indicates that an underlying (and generally unexpected) error occurred while interacting with the source data structure.

    This typically shouldn't happen and this error may be removed in future releases.

  9. final case class WrongType(expected: String, got: Option[String] = None) extends DecodeError with LeafDecodeError with Product with Serializable

    Permalink

    A value was present but was the type was incorrect

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object And extends Serializable

    Permalink
  5. object Missing extends DecodeError with LeafDecodeError with Product with Serializable

    Permalink

    A value was required but not found in the source data structure

  6. object Or extends Serializable

    Permalink
  7. def and(a: DecodeError, b: DecodeError): DecodeError

    Permalink

    Create a conjunction of errors.

    Create a conjunction of errors.

    If either error is already a conjunction then the contents are unfolded before returning a single "flattened" result.

  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. implicit def eitherDecodeErrorApplicative: Applicative[[β$0$]Either[DecodeError, β$0$]]

    Permalink
    Definition Classes
    DecodeErrorInstances
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. def or(a: DecodeError, b: DecodeError): DecodeError

    Permalink

    Create a disjunction of errors.

    Create a disjunction of errors.

    If either error is already a disjunction then the contents are unfolded before returning a single "flattened" result.

  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from DecodeErrorInstances

Inherited from AnyRef

Inherited from Any

Ungrouped