errors

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL