Skip to content

No way to handle expected error situations #6

@EliRibble

Description

@EliRibble

A number of H3 API endpoints return errors. For example, I'm building with gridDistance and the API docs indicate:

Note that finding the grid distance may fail for a few reasons:

  • the cells are not comparable (different resolutions),
  • the cells are too far apart, or
  • the cells are separated by pentagonal distortion.

These states should be translated into errors that client code can deal with directly rather than through precondition

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions