RichResponseAsEitherResponseException

class RichResponseAsEitherResponseException[HE, DE, B, R](ra: ResponseAs[Either[ResponseException[HE, DE], B], R])
class Object
trait Matchable
class Any

Value members

Concrete methods

def getEither: ResponseAs[Either[HE, B], R]

If the type to which the response body should be deserialized is an Either[ResponseException[HE, DE], B], either throws the DeserializationException, returns the deserialized body from the HttpError, or the deserialized successful body B.

If the type to which the response body should be deserialized is an Either[ResponseException[HE, DE], B], either throws the DeserializationException, returns the deserialized body from the HttpError, or the deserialized successful body B.