play.api.libs.json

JsError

Related Docs: object JsError | package json

case class JsError(errors: Seq[(JsPath, Seq[ValidationError])]) extends JsResult[Nothing] with Product with Serializable

Source
JsResult.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, JsResult[Nothing], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. JsError
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. JsResult
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JsError(errors: Seq[(JsPath, Seq[ValidationError])])

Type Members

  1. final class WithFilter extends AnyRef

    Definition Classes
    JsResult

Value Members

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

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

    Definition Classes
    AnyRef → Any
  3. def ++(error: JsError): JsError

  4. def +:(error: (JsPath, ValidationError)): JsError

  5. def :+(error: (JsPath, ValidationError)): JsError

  6. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  7. def append(error: (JsPath, ValidationError)): JsError

  8. def asEither: Product with Serializable with Either[Seq[(JsPath, Seq[ValidationError])], Nothing]

    Definition Classes
    JsResult
  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def asOpt: Option[Nothing]

    Definition Classes
    JsResult
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def collect[B](otherwise: ValidationError)(p: PartialFunction[Nothing, B]): JsResult[B]

    Definition Classes
    JsResult
  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. val errors: Seq[(JsPath, Seq[ValidationError])]

  15. def filter(otherwise: JsError)(p: (Nothing) ⇒ Boolean): JsResult[Nothing]

    Definition Classes
    JsResult
  16. def filter(p: (Nothing) ⇒ Boolean): JsResult[Nothing]

    Definition Classes
    JsResult
  17. def filterNot(p: (Nothing) ⇒ Boolean): JsResult[Nothing]

    Definition Classes
    JsResult
  18. def filterNot(error: JsError)(p: (Nothing) ⇒ Boolean): JsResult[Nothing]

    Definition Classes
    JsResult
  19. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. def flatMap[X](f: (Nothing) ⇒ JsResult[X]): JsResult[X]

    Definition Classes
    JsResult
  21. def fold[X](invalid: (Seq[(JsPath, Seq[ValidationError])]) ⇒ X, valid: (Nothing) ⇒ X): X

    Definition Classes
    JsResult
  22. def foreach(f: (Nothing) ⇒ Unit): Unit

    Definition Classes
    JsResult
  23. def get: Nothing

    Definition Classes
    JsErrorJsResult
  24. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  25. def getOrElse[AA >: Nothing](t: ⇒ AA): AA

    Definition Classes
    JsResult
  26. def isError: Boolean

    Definition Classes
    JsResult
  27. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  28. def isSuccess: Boolean

    Definition Classes
    JsResult
  29. def map[X](f: (Nothing) ⇒ X): JsResult[X]

    Definition Classes
    JsResult
  30. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  31. final def notify(): Unit

    Definition Classes
    AnyRef
  32. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  33. def orElse[AA >: Nothing](t: ⇒ JsResult[AA]): JsResult[AA]

    Definition Classes
    JsResult
  34. def prepend(error: (JsPath, ValidationError)): JsError

  35. def recover[AA >: Nothing](errManager: PartialFunction[JsError, AA]): JsResult[AA]

    Definition Classes
    JsResult
  36. def recoverTotal[AA >: Nothing](errManager: (JsError) ⇒ AA): AA

    Definition Classes
    JsResult
  37. def repath(path: JsPath): JsResult[Nothing]

    Definition Classes
    JsResult
  38. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  39. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. def withFilter(p: (Nothing) ⇒ Boolean): WithFilter

    Definition Classes
    JsResult

Deprecated Value Members

  1. def filter(otherwise: ValidationError)(p: (Nothing) ⇒ Boolean): JsResult[Nothing]

    Definition Classes
    JsResult
    Annotations
    @deprecated
    Deprecated

    (Since version 2.4.0) Use filter(JsError)(A => Boolean) instead.

  2. def filterNot(error: ValidationError)(p: (Nothing) ⇒ Boolean): JsResult[Nothing]

    Definition Classes
    JsResult
    Annotations
    @deprecated
    Deprecated

    (Since version 2.4.0) Use filterNot(JsError)(A => Boolean) instead.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from JsResult[Nothing]

Inherited from AnyRef

Inherited from Any

Ungrouped