Exception: SimpleConnect::MalformedResponseError
- Defined in:
- lib/simple_connect/errors.rb
Overview
Raised when a 2xx response body cannot be parsed as JSON. Signals a server bug (the endpoint promised JSON but returned something else) —retrying won’t help. On 4xx/5xx with an unparseable body, the parse is silently skipped and ‘Result#data` stays nil.