Closed knutole closed 5 years ago
@knutole your proposed error format looks wonderful and I would be happy to review a PR.
If you do cut a PR please ensure I am "assigned" and cc @ingalls somewhere in the PR body.
Closing for lack of activity. Structured errors or warnings is a good idea, but this project is not actively developed at this time.
Currently it's quite difficult to check for
valid
geojson, instead of just linting.Different errors return completely different messages, for example:
Spelling error:
Empty string:
Valid, but not perfect, GeoJSON:
Three different cases yield three completely different error objects, making it impossible to simply check for valid GeoJSON.
Would be great to get a more uniform error object, eg.: