FormErrors

io.eezo.http.FormErrors
See theFormErrors companion object
final case class FormErrors(errors: Seq[FieldError])

Everything wrong with a submission.

List shaped from the first day even though nothing yet produces more than a decode failure and "is required", because validation rules arrive later and a Map[String, String] would have to change signature to hold two problems with one field.

Attributes

Companion
object
Source
Form.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def isEmpty: Boolean

Attributes

Source
Form.scala
def of(name: String): Seq[String]

Attributes

Source
Form.scala

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala