Documentation ¶ Index ¶ func Errno(err error) int func New(code int) error func NewWithError(code int, err error) error func NewWithMsgF(code int, format string, args ...any) error func Output(err error) (int, string) type Error func (e *Error) Error() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Errno ¶ func Errno(err error) int func New ¶ func New(code int) error func NewWithError ¶ func NewWithError(code int, err error) error func NewWithMsgF ¶ func NewWithMsgF(code int, format string, args ...any) error func Output ¶ func Output(err error) (int, string) Types ¶ type Error ¶ type Error struct { // contains filtered or unexported fields } func (*Error) Error ¶ func (e *Error) Error() string Source Files ¶ View all Source files errors.go Click to show internal directories. Click to hide internal directories.