uber/h3

Expose error messages strings via function in h3api.h

オープン

#591 opened on 2022/03/11

 (0 件のコメント) (0 件のリアクション) (1 人の担当者)C (585 件のフォーク)github user discovery
help wanted

Repository metrics

Stars
 (6,310 個のスター)
PR merge metrics
 (平均マージ 7d 19h) (30d で 17 merged PRs)

説明

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

コントリビューターガイド