gcanti / io-ts-types

A collection of codecs and combinators for use with io-ts
https://gcanti.github.io/io-ts-types/
MIT License
311 stars 40 forks source link

Add error message to JsonFromString #162

Closed euphocat closed 1 year ago

euphocat commented 3 years ago

Hello ! I added the the error message from JSON.parse in JsonFromString. Maybe it's not the right way to add it, but I think it might be useful somewhere. Let me know :)