I want to catch on that so I can switch it to our own application exception, but in the current circumstances all I can do is catch on a general exception.
m
Marc Knaup
12/05/2020, 5:09 PM
Why not catch
SerializationException
?
b
Byron Katz
12/05/2020, 5:10 PM
Ah nice! Yes, that helps, thanks Marc!
👍 2
b
Big Chungus
12/05/2020, 6:52 PM
JsonException being internal makes sense, because it's format implementation detail that should not matter to the consumer
b
Byron Katz
12/05/2020, 7:05 PM
Sure, and SerializationException pretty well takes care of it. The way we design/develop, we try to handle what's bubbling up from below by converting into something very understandable at the application level.