Object/Trait

com.rojoma.json.v3.codec

DecodeError

Related Docs: trait DecodeError | package codec

Permalink

object DecodeError extends Serializable

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

Type Members

  1. case class InvalidField(field: String, path: Path = Path.empty) extends Simple with Product with Serializable

    Permalink

    An unknown or uninterpretable field was present.

    An unknown or uninterpretable field was present. Stock rojoma-json decoders only return this for maps whose keys are rejected by the FieldDecode, but user codecs can use it to reject unknown fields if desired.

  2. case class InvalidLength(expected: Int, got: Int, path: Path = Path.empty) extends Simple with Product with Serializable

    Permalink

    An array with the wrong number of elements was found.

  3. case class InvalidType(expected: JsonType, got: JsonType, path: Path = Path.empty) extends Simple with Product with Serializable

    Permalink

    A value was found in the correct position but of the wrong type.

  4. case class InvalidValue(got: JValue, path: Path = Path.empty) extends Simple with Product with Serializable

    Permalink

    A value of the correct JSON type was found but it held undecodable value.

  5. case class MissingField(field: String, path: Path = Path.empty) extends Simple with Product with Serializable

    Permalink

    A required field was missing.

  6. case class Multiple(choices: Seq[Simple]) extends RuntimeException with DecodeError with Product with Serializable

    Permalink

    There were several choices and they all failed.

  7. sealed abstract class Simple extends RuntimeException with DecodeError

    Permalink

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. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  12. implicit val jCodec: JsonEncode[DecodeError] with JsonDecode[DecodeError]

    Permalink
  13. def join(choices: Iterable[DecodeError]): DecodeError

    Permalink
  14. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  17. implicit def prefixable(de: DecodeError): PrefixableDecodeError

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

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

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

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped