package
module
Version:
v0.0.0-...-fa5f906
Opens a new window with list of versions in this module.
Published: Apr 12, 2024
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
ErrorToCode 用 error 生成一个字符串 code
Unwrap 按类型将 wrapped 的错误类型提取出来。如果提取成功, 则返回对应的类型, 并且 ok == true
HashFunc 表示用于生成 error code 的哈希函数,返回的数值不得大于 0xFFFFF
Source Files
¶
Click to show internal directories.
Click to hide internal directories.