error

package
v0.0.0-...-3bf81a3 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Drop1

func Drop1(args ...interface{}) interface{}

func DropN

func DropN(n int, args ...interface{}) []interface{}

func GetCode

func GetCode(err error) (code string, ok bool)

func New

func New(code string, msg string) error

Types

type Error

type Error interface {
	Code() string
	error
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳