akka.http.interop.ErrorResponse.scala Maven / Gradle / Ivy
package akka.http.interop
import akka.http.scaladsl.model.HttpResponse
/**
* Describes how to map a custom domain error into an HTTP server response
*/
trait ErrorResponse[-E] {
def toHttpResponse(e: E): HttpResponse
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy