package models
Ordering
- Alphabetic
Visibility
- Public
- All
Type Members
-
trait
ApplicationError
extends AnyRef
This is not a sealed trait to allow customizing the top-level errors.
- final case class AuthenticatedContext [+A](auth: A, lang: Lang) extends RequestContext with Product with Serializable
- final case class AuthenticatedContextWithModel [+A, T](auth: A, model: T, lang: Lang) extends RequestContext with HasModel[T] with Product with Serializable
- trait AuthenticationError extends ApplicationError
- trait ConflictError extends ApplicationError
- final case class Count (int: Int) extends AnyVal with Product with Serializable
- final case class ErrorId (string: String) extends AnyVal with Product with Serializable
- case class FieldOrdering [+A](field: A, orderingCondition: OrderingCondition) extends Product with Serializable
- case class FieldValidationError (field: String, message: String) extends PublicError with Product with Serializable
- case class GenericPublicError (message: String) extends PublicError with Product with Serializable
- sealed trait HasModel [T] extends AnyRef
- case class HeaderValidationError (header: String, message: String) extends PublicError with Product with Serializable
- trait InputValidationError extends ApplicationError
- sealed trait JsonControllerErrors extends AnyRef
- case class JsonFieldValidationError (path: JsPath, errors: List[MessageKey]) extends JsonControllerErrors with InputValidationError with Product with Serializable
- final case class Limit (int: Int) extends AnyVal with Product with Serializable
-
final
case class
MessageKey
(string: String) extends AnyVal with Product with Serializable
Represents a message key to use with play i18n.
Represents a message key to use with play i18n.
The use of this model allow us to differentiate the messages that are not adequate to display.
- trait NotFoundError extends ApplicationError
- final case class Offset (int: Int) extends AnyVal with Product with Serializable
- sealed trait OrderingCondition extends AnyRef
- sealed trait OrderingError extends AnyRef
- final case class OrderingQuery (string: String) extends AnyVal with Product with Serializable
- case class PaginatedQuery (offset: Offset, limit: Limit) extends Product with Serializable
- sealed trait PaginatedQueryError extends AnyRef
- case class PaginatedQueryLimitError (maxValue: Int) extends PaginatedQueryError with InputValidationError with Product with Serializable
- case class PaginatedResult [+T](offset: Offset, limit: Limit, total: Count, data: List[T]) extends Product with Serializable
- final case class PublicContext (lang: Lang) extends RequestContext with Product with Serializable
- final case class PublicContextWithModel [T](model: T, lang: Lang) extends RequestContext with HasModel[T] with Product with Serializable
-
sealed
trait
PublicError
extends AnyRef
A PublicError could be displayed to anyone.
- sealed trait RequestContext extends AnyRef
- trait ServerError extends ApplicationError
- case class WrappedExceptionError (exception: Throwable) extends ServerError with Product with Serializable
- trait WrappedInt extends Any
- trait WrappedLong extends Any
- trait WrappedString extends Any
Value Members
- object Count extends Serializable
- object ErrorId extends Serializable
- object InvalidOrderingConditionError extends OrderingError with InputValidationError with Product with Serializable
- object InvalidOrderingFormatError extends OrderingError with InputValidationError with Product with Serializable
- object Limit extends Serializable
- object Offset extends Serializable
- object OrderingCondition
- object PaginatedQueryOffsetError extends PaginatedQueryError with InputValidationError with Product with Serializable
- object PaginatedResult extends Serializable
- object PublicError
- object UnknownOrderingFieldError extends OrderingError with InputValidationError with Product with Serializable
- object WrappedInt
- object WrappedLong
- object WrappedString