json-pointer icon indicating copy to clipboard operation
json-pointer copied to clipboard

Add thrown exceptions in documentation

Open yvele opened this issue 10 years ago • 0 comments

Can you improve the documentation and add what exceptions are thrown and why? For example if you use get with a non existing reference token, the function will throw an Error the a message saying "Invalid reference token: foo".

It's too bad I have to browse the code or the unit tests to figure out what is the basic behavior of the functions.

yvele avatar Oct 29 '14 11:10 yvele