spice.http.server.ErrorHandler.scala Maven / Gradle / Ivy
package spice.http.server
import cats.effect.IO
import spice.http.HttpExchange
trait ErrorHandler {
def handle(exchange: HttpExchange, t: Option[Throwable]): IO[HttpExchange]
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy