All Downloads are FREE. Search and download functionalities are using the official Maven repository.

spice.http.client.ClientException.scala Maven / Gradle / Ivy

The newest version!
package spice.http.client

import spice.http.{HttpRequest, HttpResponse, HttpStatus}

class ClientException(val message: String,
                      val request: HttpRequest,
                      val response: HttpResponse,
                      val cause: Option[Throwable]) extends RuntimeException(message, cause.orNull) {
  def status: HttpStatus = response.status
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy