Package

com.github.vonnagy.service.container.http.routing

Rejection

Permalink

package Rejection

Visibility
  1. Public
  2. All

Type Members

  1. case class DuplicateRejection(message: String) extends Rejection with Product with Serializable

    Permalink

    Use this rejection when trying to create an entity that already exists

  2. case class NotFoundRejection(message: String) extends Rejection with Product with Serializable

    Permalink

    Use this rejection when a resource can't be found and you want a custom message

  3. case class ServiceUnavailableRejection(message: String) extends Rejection with Product with Serializable

    Permalink

    Use this rejection when a service is not available

Ungrouped