OrleansContrib / Orleans.Sagas

A distributed saga implementation for Orleans
MIT License
150 stars 28 forks source link

Add proper way to translate exceptions #47

Closed majdee closed 3 years ago

majdee commented 3 years ago

In the current implementation of getting back the error that been thrown by the activity, the end-users should make sure their exceptions are serializable. In addition, the way we're doing serialization is not very safe.

So, I added the ability to the end-user to do the serialization by him-self using the saga builder, and then we just return the serialized value as a string.