Package

fr.hmil.roshttp

exceptions

Permalink

package exceptions

Visibility
  1. Public
  2. All

Type Members

  1. case class HttpException[+T <: HttpResponse] extends IOException with Product with Serializable

    Permalink

    Exception in the HTTP application layer.

    Exception in the HTTP application layer.

    In other words, this exception occurs when a bad HTTP status code (>= 400) is received.

  2. case class RequestException(cause: Throwable) extends IOException with Product with Serializable

    Permalink

    Captures network errors occurring during an HTTP request.

    Captures network errors occurring during an HTTP request.

    See also

    ResponseException

  3. case class ResponseException extends IOException with Product with Serializable

    Permalink

    Captures network errors occurring during reception of an HTTP response body.

    Captures network errors occurring during reception of an HTTP response body.

    When this exception occurs, HTTP headers have already been received. The response header data is recovered in the header field.

    See also

    RequestException

  4. case class TimeoutException(header: Option[HttpResponseHeader] = None) extends IOException with Product with Serializable

    Permalink

    Captures timeout exceptions occurring during an HTTP response.

  5. case class UploadStreamException(cause: Throwable) extends IOException with Product with Serializable

    Permalink

    Captures errors in the request body stream.

    Captures errors in the request body stream.

    This exception means that the stream which feeds request body data into the request broke.

Value Members

  1. object HttpException extends Serializable

    Permalink

Ungrouped