rocketraman
10/17/2018, 5:10 PMJsonFeature
how do I deal with two possible response formats e.g. a normal response and an error response?Jonas Bark
10/17/2018, 5:31 PMrocketraman
10/17/2018, 5:32 PMcall
, and then in the block, call receive<Whatever>()
if status = 200.e5l
10/17/2018, 6:15 PM1.0-beta
introduce expectSuccess
option: if status is fail - get<...>
throws BadStatusCode
exception