Skip to content
scalive
Menu
ConnectingLiveReconnectingOffline
c

FormError

class FormError(path: FormPath, message: String, code: Option[String] = ...)

One validation error associated with a form path.

Parameters

path

the exact structured path used when filtering errors

message

human-readable validation feedback

code

optional application-defined machine-readable classification

Defined by scalive.FormError. View source (scalive/api/src/scalive/forms/FormErrors.scala:12-12)

Values3

code

val code: Option[String]

Defined by scalive.FormError.code. View source (scalive/api/src/scalive/forms/FormErrors.scala:12-12)

message

val message: String

Defined by scalive.FormError.message. View source (scalive/api/src/scalive/forms/FormErrors.scala:12-12)

path

val path: FormPath

Defined by scalive.FormError.path. View source (scalive/api/src/scalive/forms/FormErrors.scala:12-12)