dotnet-sdk/test/Shared
Ryan Nowak b00c02f320
Throw DaprException for errors in DaprClient (#561)
* Unify DaprException classes

We have two classes called DaprException.

It makes way more sense for us to have DaprException in the Dapr.Client
project, and it also makes sense for Dapr.Actors to reference
Dapr.Client (it did not for some reason).

There's some additional cleanup of code related to
JsonSerializerOptions. The Actors code was not referencing the 5.0.0
version of the package, and so it's now got access to some new stuff,
so we could remove a polyfill.

* Throw DaprException for errors

Fixes: #516

This updates all of the locations in DaprClient that handle networking
or serialization to throw DaprException instead of the underlying
exception type. This allows for simpler error handling.

* Add one more unit test
2021-01-26 20:05:17 -08:00
..
AppCallbackClient.cs Include the appcallback.proto into the Dapr.Client package (#349) 2020-07-25 09:20:34 -07:00
GrpcUtils.cs Simplify service invocation APIs (#555) 2021-01-22 16:28:20 -08:00
TestHttpClient.cs Throw DaprException for errors in DaprClient (#561) 2021-01-26 20:05:17 -08:00