Thread
#serialization
    b

    Byron Katz

    1 year ago
    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

    1 year ago
    Why not catch
    SerializationException
    ?
    b

    Byron Katz

    1 year ago
    Ah nice! Yes, that helps, thanks Marc!
    Big Chungus

    Big Chungus

    1 year ago
    JsonException being internal makes sense, because it's format implementation detail that should not matter to the consumer
    b

    Byron Katz

    1 year ago
    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.