EitherBackend

class EitherBackend[P](delegate: SttpBackend[Identity, P]) extends SttpBackend[[_] =>> Either[Throwable, _$1], P]

A synchronous backend that safely wraps SttpBackend exceptions in Either[Throwable, *]'s

Type Params
P

TODO

Value Params
delegate

A synchronous SttpBackend which to which this backend forwards all requests

trait SttpBackend[[_] =>> Either[Throwable, _$1], P]
class Object
trait Matchable
class Any

Value members

Concrete methods

override def close(): Either[Throwable, Unit]
Definition Classes
override def responseMonad: MonadError[[_] =>> Either[Throwable, _$5]]
Definition Classes
override def send[T, R >: P & Effect[[_] =>> Either[Throwable, _$2]]](request: Request[T, R]): Either[Throwable, Response[T]]
Definition Classes