• Peter Leibiger's avatar
    [dart][dart-dio] Add DioError wrapping · 07970a72
    Peter Leibiger authored
    * wrap (de)serialization in try/catch and throw a `DioError` (this uses the new `RequestOptions` instance) - generic `StateError` and `FormatException` are now wrapped in a `DioError` which makes it clear that they originated from an API call
    * this is a new option in the generator wich defaults to true
    07970a72