uber/h3

Expose error messages strings via function in h3api.h

开放

#591 创建于 2022年3月11日

 (0 条评论) (0 个反应) (1 位负责人)C (585 个派生)github user discovery
help wanted

仓库指标

星标
 (6,310 个星标)
PR 合并指标
 (平均合并 7天 19小时) (30 天内合并 17 个 PR)

描述

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

贡献者指南