bobfang1992 / pytomlpp

A python wrapper for tomlplusplus
https://bobfang1992.github.io/pytomlpp/pytomlpp.html
MIT License
86 stars 10 forks source link

Use custom exception #21

Closed bobfang1992 closed 4 years ago

bobfang1992 commented 4 years ago

close #11

bobfang1992 commented 4 years ago

@EpicWink could you please have a quick look and let me know your thoughts? Thanks!

bobfang1992 commented 4 years ago

Think this is okay to merge now... About the encode error I think we want to use TypeError in the end but after some research, it seems pybind11 does not support this exception yet. I will make a mental note and convert to TypeError later.