Commit Graph
4 Commits
Author SHA1 Message Date
Yurun 05b85a2131 Pre-allocate memory to reduce the number of allocations (#272) 2024-11-27 14:58:02 +08:00
dudaodong d0260b2841 feat: add XError to support more contextual error handling 2023-02-14 16:32:57 +08:00
dudaodong 7380721ccc test&doc: add example and update doc for xerror package 2023-01-08 20:36:17 +08:00
donutloop 2878d389c8 error: Add unwrap (#24)
Add a unwrap func helper

* Unwrap if err is nil then it returns a valid value otherwise it panics
2022-01-22 21:25:31 +08:00