Documentation ¶
Overview ¶
Package errdefiner enable centralized definition of error code.
Index ¶
Constants ¶
View Source
const ( ErrParams = errman.ErrParams Internal = errman.Internal Unknown = errman.Unknown Success = errman.Success )
exports
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ErrorCode ¶
type ErrorCode int64
ErrorCode of int
func (ErrorCode) WithFormat ¶
WithFormat check if error message contains format
Click to show internal directories.
Click to hide internal directories.