JsError

case class JsError(errors: Seq[(JsPath, Seq[JsonValidationError])]) extends JsResult[Nothing]

The result in case of parsing errors.

Companion
object
trait Serializable
trait Product
trait Equals
trait JsResult[Nothing]
class Object
trait Matchable
class Any

Type members

Inherited classlikes

final class WithFilter(p: A => Boolean)
Inherited from
JsResult

Value members

Concrete methods

def ++(error: JsError): JsError
def asEither: Either[Seq[(JsPath, Seq[JsonValidationError])], Nothing]
def contains[AA](elem: AA): Boolean
def exists(p: Nothing => Boolean): Boolean
def flatMap[U](f: Nothing => JsResult[U]): JsResult[U]
def fold[U](invalid: Seq[(JsPath, Seq[JsonValidationError])] => U, valid: Nothing => U): U
def forall(p: Nothing => Boolean): Boolean
def foreach(f: Nothing => Unit): Unit
def get: Nothing
def getOrElse[U](t: => U): U
def map[U](f: Nothing => U): JsResult[U]
def orElse[U](t: => JsResult[U]): JsResult[U]
def recover[U](errManager: PartialFunction[JsError, U]): JsResult[U]
def recoverTotal[U](errManager: JsError => U): U
def recoverWith[U](errManager: JsError => JsResult[U]): JsResult[U]
def repath(path: JsPath): JsResult[Nothing]

Inherited methods

def collect[B](otherwise: JsonValidationError)(p: PartialFunction[Nothing, B]): JsResult[B]
Inherited from
JsResult
def filter(otherwise: JsError)(p: Nothing => Boolean): JsResult[Nothing]
Inherited from
JsResult
def filter(p: Nothing => Boolean): JsResult[Nothing]
Inherited from
JsResult
def filterNot(p: Nothing => Boolean): JsResult[Nothing]
Inherited from
JsResult
def filterNot(error: JsError)(p: Nothing => Boolean): JsResult[Nothing]
Inherited from
JsResult
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
def withFilter(p: Nothing => Boolean): WithFilter
Inherited from
JsResult

Concrete fields

val asOpt: Option[Nothing]
val isError: Boolean
val isSuccess: Boolean