CalibanClientError

caliban.client.CalibanClientError
See theCalibanClientError companion trait

Attributes

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

Members list

Type members

Classlikes

case class CommunicationError(msg: String, innerThrowable: Option[Throwable]) extends CalibanClientError

An error while communicating with the backend (e.g. HTTP code 4xx or 5xx)

An error while communicating with the backend (e.g. HTTP code 4xx or 5xx)

Attributes

Supertypes
trait Product
trait Equals
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
case class DecodingError(msg: String, innerThrowable: Option[Throwable]) extends CalibanClientError

An error while parsing the response from the backend

An error while parsing the response from the backend

Attributes

Supertypes
trait Product
trait Equals
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
case class ServerError(errors: List[GraphQLResponseError]) extends CalibanClientError

A GraphQL error returned by the backend (e.g. failure during query parsing, validation or execution)

A GraphQL error returned by the backend (e.g. failure during query parsing, validation or execution)

Attributes

Supertypes
trait Product
trait Equals
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

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