play
.
api
.
libs
.
json
JsError
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
Alphabetic
By inheritance
Inherited
JsError
Serializable
Serializable
Product
Equals
JsResult
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Instance Constructors
new
JsError
(
errors:
Seq
[(
JsPath
,
Seq
[
ValidationError
])]
)
Type Members
final
class
WithFilter
extends
AnyRef
Definition Classes
JsResult
Value Members
final
def
!=
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
def
++
(
error:
JsError
)
:
JsError
def
+:
(
error: (
JsPath
,
ValidationError
)
)
:
JsError
def
:+
(
error: (
JsPath
,
ValidationError
)
)
:
JsError
final
def
==
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
def
append
(
error: (
JsPath
,
ValidationError
)
)
:
JsError
def
asEither
:
Product
with
Serializable
with
Either
[
Seq
[(
JsPath
,
Seq
[
ValidationError
])],
Nothing
]
Definition Classes
JsResult
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
asOpt
:
Option
[
Nothing
]
Definition Classes
JsResult
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
collect
[
B
]
(
otherwise:
ValidationError
)
(
p:
PartialFunction
[
Nothing
,
B
]
)
:
JsResult
[
B
]
Definition Classes
JsResult
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
val
errors
:
Seq
[(
JsPath
,
Seq
[
ValidationError
])]
def
filter
(
otherwise:
ValidationError
)
(
p: (
Nothing
) ⇒
Boolean
)
:
JsResult
[
Nothing
]
Definition Classes
JsResult
def
filter
(
p: (
Nothing
) ⇒
Boolean
)
:
JsResult
[
Nothing
]
Definition Classes
JsResult
def
filterNot
(
p: (
Nothing
) ⇒
Boolean
)
:
JsResult
[
Nothing
]
Definition Classes
JsResult
def
filterNot
(
error:
ValidationError
)
(
p: (
Nothing
) ⇒
Boolean
)
:
JsResult
[
Nothing
]
Definition Classes
JsResult
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
flatMap
[
X
]
(
f: (
Nothing
) ⇒
JsResult
[
X
]
)
:
JsResult
[
X
]
Definition Classes
JsResult
def
fold
[
X
]
(
invalid: (
Seq
[(
JsPath
,
Seq
[
ValidationError
])]) ⇒
X
,
valid: (
Nothing
) ⇒
X
)
:
X
Definition Classes
JsResult
def
foreach
(
f: (
Nothing
) ⇒
Unit
)
:
Unit
Definition Classes
JsResult
def
get
:
Nothing
Definition Classes
JsError
→
JsResult
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
getOrElse
[
AA >:
Nothing
]
(
t: ⇒
AA
)
:
AA
Definition Classes
JsResult
def
isError
:
Boolean
Definition Classes
JsResult
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
isSuccess
:
Boolean
Definition Classes
JsResult
def
map
[
X
]
(
f: (
Nothing
) ⇒
X
)
:
JsResult
[
X
]
Definition Classes
JsResult
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
orElse
[
AA >:
Nothing
]
(
t: ⇒
JsResult
[
AA
]
)
:
JsResult
[
AA
]
Definition Classes
JsResult
def
prepend
(
error: (
JsPath
,
ValidationError
)
)
:
JsError
def
recover
[
AA >:
Nothing
]
(
errManager:
PartialFunction
[
JsError
,
AA
]
)
:
JsResult
[
AA
]
Definition Classes
JsResult
def
recoverTotal
[
AA >:
Nothing
]
(
errManager: (
JsError
) ⇒
AA
)
:
AA
Definition Classes
JsResult
def
repath
(
path:
JsPath
)
:
JsResult
[
Nothing
]
Definition Classes
JsResult
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
withFilter
(
p: (
Nothing
) ⇒
Boolean
)
:
WithFilter
Definition Classes
JsResult
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
JsResult
[
Nothing
]
Inherited from
AnyRef
Inherited from
Any
Ungrouped