package models

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. trait ApplicationError extends AnyRef

    This is not a sealed trait to allow customizing the top-level errors.

  2. final case class AuthenticatedContext [+A](auth: A, lang: Lang) extends RequestContext with Product with Serializable
  3. final case class AuthenticatedContextWithModel [+A, T](auth: A, model: T, lang: Lang) extends RequestContext with HasModel[T] with Product with Serializable
  4. trait AuthenticationError extends ApplicationError
  5. trait ConflictError extends ApplicationError
  6. final case class Count (int: Int) extends AnyVal with Product with Serializable
  7. final case class ErrorId (string: String) extends AnyVal with Product with Serializable
  8. case class FieldOrdering [+A](field: A, orderingCondition: OrderingCondition) extends Product with Serializable
  9. case class FieldValidationError (field: String, message: String) extends PublicError with Product with Serializable
  10. case class GenericPublicError (message: String) extends PublicError with Product with Serializable
  11. sealed trait HasModel [T] extends AnyRef
  12. case class HeaderValidationError (header: String, message: String) extends PublicError with Product with Serializable
  13. trait InputValidationError extends ApplicationError
  14. sealed trait JsonControllerErrors extends AnyRef
  15. case class JsonFieldValidationError (path: JsPath, errors: List[MessageKey]) extends JsonControllerErrors with InputValidationError with Product with Serializable
  16. final case class Limit (int: Int) extends AnyVal with Product with Serializable
  17. 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.

  18. trait NotFoundError extends ApplicationError
  19. final case class Offset (int: Int) extends AnyVal with Product with Serializable
  20. sealed trait OrderingCondition extends AnyRef
  21. sealed trait OrderingError extends AnyRef
  22. final case class OrderingQuery (string: String) extends AnyVal with Product with Serializable
  23. case class PaginatedQuery (offset: Offset, limit: Limit) extends Product with Serializable
  24. sealed trait PaginatedQueryError extends AnyRef
  25. case class PaginatedQueryLimitError (maxValue: Int) extends PaginatedQueryError with InputValidationError with Product with Serializable
  26. case class PaginatedResult [+T](offset: Offset, limit: Limit, total: Count, data: List[T]) extends Product with Serializable
  27. final case class PublicContext (lang: Lang) extends RequestContext with Product with Serializable
  28. final case class PublicContextWithModel [T](model: T, lang: Lang) extends RequestContext with HasModel[T] with Product with Serializable
  29. sealed trait PublicError extends AnyRef

    A PublicError could be displayed to anyone.

  30. sealed trait RequestContext extends AnyRef
  31. trait ServerError extends ApplicationError
  32. case class WrappedExceptionError (exception: Throwable) extends ServerError with Product with Serializable
  33. trait WrappedInt extends Any
  34. trait WrappedLong extends Any
  35. trait WrappedString extends Any

Value Members

  1. object Count extends Serializable
  2. object ErrorId extends Serializable
  3. object InvalidOrderingConditionError extends OrderingError with InputValidationError with Product with Serializable
  4. object InvalidOrderingFormatError extends OrderingError with InputValidationError with Product with Serializable
  5. object Limit extends Serializable
  6. object Offset extends Serializable
  7. object OrderingCondition
  8. object PaginatedQueryOffsetError extends PaginatedQueryError with InputValidationError with Product with Serializable
  9. object PaginatedResult extends Serializable
  10. object PublicError
  11. object UnknownOrderingFieldError extends OrderingError with InputValidationError with Product with Serializable
  12. object WrappedInt
  13. object WrappedLong
  14. object WrappedString

Ungrouped