HttpError

tyrian.http.HttpError
enum HttpError

An Error will be returned if something goes wrong with an HTTP request.

Attributes

Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
case BadRequest

Members list

Type members

Enum entries

final case class BadRequest(msg: String) extends HttpError

A BadRequest means that the provide request was not valid for some reason.

A BadRequest means that the provide request was not valid for some reason.

Value parameters

msg

error message

Attributes

case case NetworkError extends HttpError

A NetworkError means that there is a problem with the network.

A NetworkError means that there is a problem with the network.

Attributes

case case Timeout extends HttpError

A Timeout means that it took too long to get a response.

A Timeout means that it took too long to get a response.

Attributes