jsonpath icon indicating copy to clipboard operation
jsonpath copied to clipboard

make returned errors public constants

Open boindil opened this issue 3 years ago • 0 comments

declaring the returned errors as public constants would allow to add custom error handling while using this lib.

I for instance would like to handle the errors on .Get, but I'd like to decide what to do based on the specific error.

P.S.: is this project still alive? In #2 you said, that you were going to grow out the lib soon

P.P.S.: it has already been done for the DoesNotExist error, it's just not consistent.

boindil avatar Jan 15 '22 12:01 boindil