UnprocessableContent
A body that decoded and does not fit what the handler asked for: JSON on an API route whose fields are missing or of the wrong type. A refusal of its own rather than a BadRequest, because a client that sent well formed JSON needs to know the fix is in its fields and not in its encoding, which is the split the HTML routes already make between a 400 and a 422.
Thrown rather than returned, unlike the 422 a derived form answers with: an API route has no page to render again, so nothing is lost by letting the boundary say it.
Attributes
- Source
- Errors.scala
- Graph
-
- Supertypes
-
trait Producttrait Equalsclass EezoExceptionclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Inherited methods
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
Attributes
- Inherited from:
- Throwable
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
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
Attributes
- Inherited from:
- Throwable