twogood / Activout.RestClient

Create a REST(ish) API client only by defining the C# interface you want

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use DomainException for "No deserializer found for..."

twogood opened this issue · comments

if (deserializer == null):
  if response.IsSuccessStatusCode || !UseDomainException:
    throw RestClientException
  else:
    throw DomainException