If your RawValue
wasn’t Sendable
and some async throws
client function f
of JSONDecodable.init(json:)
was called across an isolation boundary, and f
decided to pass all errors from JSONDecoder
to that cross-isolation caller, you would have a Sendable
violation at the point where the error is caught.
1 Like