uber/h3

Expose error messages strings via function in h3api.h

Ouverte

#591 ouverte le 11 mars 2022

 (0 commentaire) (0 réaction) (1 personne assignée)C (585 forks)github user discovery
help wanted

Métriques du dépôt

Stars
 (6 310 étoiles)
Métriques de merge PR
 (Merge moyen 7j 19h) (17 PRs mergées en 30 j)

Description

Expose error message strings (which are currently given as comments in h3api.h), mainly so that the bindings can forward those explanations to users, without having to manually copy the messages.

Some examples in other projects:

Other notes:

  • Also needs to be added to our documentation
  • probably English only for now
  • const char *errorToString(H3Error err);
  • Eventually we could have the website build the error table from this function too

Guide contributeur