HttpError

openai4s.http.HttpError
See theHttpError companion enum
object HttpError

Attributes

Companion
enum
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
HttpError.type

Members list

Type members

Classlikes

Attributes

Companion
enum
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def connectionError[F[*]](request: Request[F], cause: Exception): HttpError[F]
def decodingError[F[*]](request: Request[F], cause: DecodeFailure): HttpError[F]
def fromHttp4sException[F[*]](ex: Throwable, request: Request[F]): Option[HttpError[F]]
def otherHttpException[F[*]](request: Request[F], ex: Exception): Option[HttpError[F]]
def responseError[F[*]](request: Request[F], cause: Exception): HttpError[F]
def unexpectedStatus[F[*]](request: Request[F], status: Status, body: Body): HttpError[F]

Givens

Givens

given httpErrorShow[F[*]]: httpErrorShow[F]