I’m not opposed to massaging the formatting! I opted for something that was more verbose to try to be friendlier to newcomers, who seem to be the most confused by the current errors, and I’m also trying to do the best I can with the current errors that are generated by JSONDecoder
and friends. But we can also iterate on changes between stdlib (home of these error types) and Foundation (home of the en/de-coders) until we get something we’re happy with. Turns out, it can be complicated to test and land a change that affects both!
2 Likes