case classInvalidResponse(response: Response, reason: String) extends Throwable with Product with Serializable
Represents a Response which was not valid, because:
1. It did not conform to the specification of the Accept header that was specified in the request, and/or
2. The Content-Type was missing or there was no available decoder, or
3. Decoding of the request failed
response
The original Response, so it can be further processed if desired
Represents a Response which was not valid, because: 1. It did not conform to the specification of the
Accept
header that was specified in the request, and/or 2. The Content-Type was missing or there was no available decoder, or 3. Decoding of the request failedThe original Response, so it can be further processed if desired
A String describing why the response was invalid