Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(code int32, msg string, opts ...RegisterOptionFn)
func SetDefaultErrorCode ¶
func SetDefaultErrorCode(code int32)
Types ¶
type RegisterOptionFn ¶
type RegisterOptionFn = internal.RegisterOption
func WithAffectStability ¶
func WithAffectStability(affectStability bool) RegisterOptionFn
Click to show internal directories.
Click to hide internal directories.