package
Version:
v0.0.3
Opens a new window with list of versions in this module.
Published: Jul 4, 2026
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func IsError[E reasonEnum](err error, enum E, httpCode int) bool
IsError checks if the given error matches the specified enum and HTTP code
IsError 检查给定错误是否匹配指定的枚举和 HTTP 代码
NewError creates a new error with the specified parameters
NewError 创建带指定参数的新错误
Source Files
¶
Click to show internal directories.
Click to hide internal directories.