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

貢獻者指南